]> git.cworth.org Git - sup/blobdiff - lib/sup/modes/scroll-mode.rb
add 'a' and 'd' keybindings to thread-view-mode to archive/delete current thread
[sup] / lib / sup / modes / scroll-mode.rb
index 63b48ec00edd6e7b7cc50bd82b51d8b00c7c7ed9..c13142599e9aed1aaad9bde0c1a029b2331fa72e 100644 (file)
@@ -3,7 +3,7 @@ module Redwood
 class ScrollMode < Mode
   ## we define topline and botline as the top and bottom lines of any
   ## content in the currentview.
-  
+
   ## we left leftcol and rightcol as the left and right columns of any
   ## content in the current view. but since we're operating in a
   ## line-centric fashion, rightcol is always leftcol + the buffer
@@ -223,7 +223,7 @@ protected
       raise "nil text for color '#{color}'" if text.nil? # good for debugging
       l = text.display_length
       no_fill = i != a.size - 1
-      
+
       if xpos + l < @leftcol
         buffer.write ln - @topline, 0, "", :color => color,
                      :highlight => opts[:highlight]