lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb in rabbit-2.1.9 vs lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb in rabbit-2.2.0

- old
+ new

@@ -70,11 +70,11 @@ }, :ident => { # :color => "#f57900", }, :include => { - :color => "#73d216", + :color => "#a40000", }, :pre_constant => { :color => "#5c35cc", }, :preprocessor => { @@ -112,14 +112,10 @@ @syntax_highlighting_padding_left ||= screen_x(5) @syntax_highlighting_padding_right ||= screen_x(5) @syntax_highlighting_padding_top ||= screen_y(2) @syntax_highlighting_padding_bottom ||= screen_y(2) -if @syntax_highlighting_keep_in_size.nil? - @syntax_highlighting_keep_in_size = true -end - match("**", SyntaxHighlightingBlock) do |blocks| name = "syntax-highlighting-block" blocks.prop_set("size", @normal_font_size) set_font_family(blocks, @monospace_font_family) @@ -141,11 +137,9 @@ blocks.wrap_mode = false blocks.margin_top = @space blocks.margin_bottom = @space - - blocks.keep_in_size if @syntax_highlighting_keep_in_size draw_frame(blocks, params) blocks.prop_set("foreground", @syntax_highlighting_foreground) end