public
Fork of timcharper/rubyamp
Description: TextMate bundle - Amplified Mate Productivity
Homepage: http://code.leadmediapartners.com/tools/rubyamp
Clone URL: git://github.com/drnic/rubyamp.git
restrict duplicate check to same [file, line number]
drnic (author)
Sat May 24 03:23:53 -0700 2008
commit  077685049129ced27f7fcc5822a6668d72312ae0
tree    29b62a2728eb2c00bed343d8217187b191bb5d7b
parent  6753aa798db5a53ac9f19145fb49ad419343357c
...
123
124
125
126
 
127
128
129
...
123
124
125
 
126
127
128
129
0
@@ -123,7 +123,7 @@ class Grepper
0
             :line_number => line_number,
0
             :content => content,
0
             :path => path
0
- } unless @matches.find { |match| match[:file] == file }
0
+ } unless @matches.find { |match| match[:file] == file && match[:line_number] == line_number }
0
         end
0
         last_path = path
0
       end

Comments

    No one has commented yet.