]> git.cworth.org Git - sup/commitdiff
slightly nicer comments for thread-index-mode
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Nov 2007 02:35:34 +0000 (02:35 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Nov 2007 02:35:34 +0000 (02:35 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@684 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/thread-index-mode.rb

index bc2fd56fa19e965f8fe82bfff79f3225f5bc81b8..e7640003e5ded2b3232cfd7c10fc736afe2928dc 100644 (file)
@@ -38,20 +38,21 @@ EOS
 
   def initialize hidden_labels=[], load_thread_opts={}
     super()
-    @mutex = Mutex.new # covers the following variables
+    @mutex = Mutex.new # covers the following variables:
     @threads = {}
     @hidden_threads = {}
     @size_widget_width = nil
     @size_widgets = {}
     @tags = Tagger.new self
 
+    ## these guys, and @text and @lines, are not covered
     @load_thread = nil
     @load_thread_opts = load_thread_opts
     @hidden_labels = hidden_labels + LabelManager::HIDDEN_RESERVED_LABELS
     @date_width = DATE_WIDTH
     
     initialize_threads # defines @ts and @ts_mutex
-    update
+    update # defines @text and @lines
 
     UpdateManager.register self