lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb in rabbit-2.1.2 vs lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb in rabbit-2.1.3
- old
+ new
@@ -51,10 +51,13 @@
:color => "#4e9a06",
},
:integer => {
:color => "#c4a000",
},
+ :float => {
+ :color => "#c4a000",
+ },
:variable => {
:color => "#ce5c00",
},
:instance_variable => {
:color => "#ce5c00",
@@ -103,9 +106,12 @@
@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)
blocks.horizontal_centering = true
params = {
:proc_name => name,