From: wmorgan Date: Thu, 8 Nov 2007 02:35:34 +0000 (+0000) Subject: slightly nicer comments for thread-index-mode X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e8af5cddb7654a41539dc26e2404ef2effde7037;p=sup slightly nicer comments for thread-index-mode git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@684 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb index bc2fd56..e764000 100644 --- 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