lib/sup/modes/text-mode.rb in sup-0.12.1 vs lib/sup/modes/text-mode.rb in sup-0.13.0
- old
+ new
@@ -38,10 +38,10 @@
def text= t
@text = t
update_lines
if buffer
ensure_mode_validity
- buffer.mark_dirty
+ buffer.mark_dirty
end
end
def << line
@lines = [0] if @text.empty?