Skip to content

Commit

Permalink
Change a <= to <. I don't remember what half-baked implementation quirk
Browse files Browse the repository at this point in the history
caused me to change it to <= but it's no longer needed.
  • Loading branch information
keforbes committed May 26, 2012
1 parent 7dccc1c commit 8cf9ad2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void execute(EditorAdaptor editorAdaptor, TextRange region, ContentType c

//perform search individually on each line in the range
editorAdaptor.getHistory().beginCompoundChange();
for(int i=startLine; i <= endLine; i++) {
for(int i=startLine; i < endLine; i++) {
line = editorAdaptor.getModelContent().getLineInformation(i);
success = searchAndReplace.replace(line, find, replace, flags) || success;
}
Expand Down

0 comments on commit 8cf9ad2

Please sign in to comment.