Sha256: 2d39421f83e4701ae1ccc52a53a6740378e348b6e6f1a020222d3c8f9e9841b2
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
module Redwood class SearchResultsMode < ThreadIndexMode register_keymap do |k| k.add :load_more_threads, "Load #{LOAD_MORE_THREAD_NUM} more threads", 'M' end def initialize qobj @qobj = qobj super end ## TODO: think about this def is_relevant? m; super; end def load_more_threads n=ThreadIndexMode::LOAD_MORE_THREAD_NUM load_n_threads_background n, :qobj => @qobj, :load_killed => true, :load_spam => false, :when_done =>(lambda do |num| if num > 0 BufferManager.flash "Found #{num} threads" else BufferManager.flash "No matches" end end) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sup-0.0.3 | lib/sup/modes/search-results-mode.rb |