Skip to content

Commit

Permalink
fix selection for replace all
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Nov 20, 2010
1 parent 2294beb commit 5ce7ac5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ def execute
end
end
if replacement_text && startoff
doc.set_selection_range(startoff, replacement_text.length)
doc.set_selection_range(startoff + replacement_text.length, startoff)
doc.scroll_to_line(doc.line_at_offset(startoff))
end
count
Expand Down

0 comments on commit 5ce7ac5

Please sign in to comment.