Commit b4ce00d4c6bdf1c73717909a0b9535cc9e785ffc

  • avatar
  • Rich Lane <rlane @cl…b.cc.cmu.edu> (Committer)
  • Mon Mar 15 06:11:45 CET 2010
  • avatar
  • Daniel Schoepe (Author)
  • Sun Mar 14 17:07:05 CET 2010
Added slip_rows config option

This patch adds a slip_rows config option used by thread-view-mode
that passes the argument to scroll-mode, which already has that
functionality, but it was only used by completion-mode before.
The option controls how many lines of context are shown when scrolling
up/down.
lib/sup.rb
(2 / 1)
  
264264 :default_attachment_save_dir => "",
265265 :sent_source => "sup://sent",
266266 :poll_interval => 300,
267 :wrap_width => 0
267 :wrap_width => 0,
268 :slip_rows => 0
268269 }
269270 begin
270271 FileUtils.mkdir_p Redwood::BASE_DIR
  
111111 ## objects. @person_lines is a map from row #s to Person objects.
112112
113113 def initialize thread, hidden_labels=[], index_mode=nil
114 super()
114 super :slip_rows => $config[:slip_rows]
115115 @thread = thread
116116 @hidden_labels = hidden_labels
117117