lib/grumblr/ui.rb in grumblr-2.3.0 vs lib/grumblr/ui.rb in grumblr-2.3.1
- old
+ new
@@ -658,10 +658,10 @@
false
end
end
def report_length
- $statusbar.push 0, "Length: #{self.buffer.text.chars.count}"
+ $statusbar.push 0, "Length: #{self.buffer.text.scan(/./mu).count}"
self.buffer.text.strip
end
def get_value
value = self.buffer.get_text