プロジェクト

全般

プロフィール

提案 #1272 » deprecated-font-weight.diff

Akira Ouchi, 2018-07-05 19:32

差分を表示:

core/plugin/console/console.rb
87 87
    buffer.create_tag("prompt",
88 88
                      foreground_gdk: Gdk::Color.new(0, 0x6666, 0))
89 89
    buffer.create_tag("echo",
90
                      weight: Pango::FontDescription::WEIGHT_BOLD)
90
                      weight: Pango::Weight::BOLD)
91 91
    buffer.create_tag("result",
92 92
                      foreground_gdk: Gdk::Color.new(0, 0, 0x6666))
93 93
    buffer.create_tag("errorclass",
94 94
                      foreground_gdk: Gdk::Color.new(0x6666, 0, 0))
95 95
    buffer.create_tag("error",
96
                      weight: Pango::FontDescription::WEIGHT_BOLD,
96
                      weight: Pango::Weight::BOLD,
97 97
                      foreground_gdk: Gdk::Color.new(0x9999, 0, 0))
98 98
    buffer.create_tag("backtrace",
99 99
                      foreground_gdk: Gdk::Color.new(0x3333, 0, 0))
    (1-1/1)