lib/unibits.rb in unibits-2.2.0 vs lib/unibits.rb in unibits-2.3.0
- old
+ new
@@ -238,13 +238,13 @@
def self.determine_char_color(char_info)
if !char_info.valid?
COLORS[:invalid]
elsif !char_info.assigned?
COLORS[:unassigned]
- elsif char_info.control?
- COLORS[:control]
elsif char_info.blank?
COLORS[:blank]
+ elsif char_info.control?
+ COLORS[:control]
elsif char_info.format?
COLORS[:format]
elsif char_info.unicode? && char_info.category[0] == "M"
COLORS[:mark]
else