commit e8af5cddb7654a41539dc26e2404ef2effde7037
parent e4771fd1fd2b3b17bc8f290f88137ec67f3b892e
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Thu, 8 Nov 2007 02:35:34 +0000
slightly nicer comments for thread-index-mode
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@684 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -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