Skip to content

Commit

Permalink
Issue #1974E2: Ctrl+H Replace 'Match Whole Word' doesn't work #1974
Browse files Browse the repository at this point in the history
  • Loading branch information
InkDefense authored Sep 12, 2019
1 parent 6b5274e commit dbe1e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wire/client/text_editor/texteditor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ function EDITOR:ReplaceAll( str, replacewith )
self:SelectAll()
self:SetSelection( txt2 )
else
txt = string_gsub( txt, str, replacewith )
txt = string_gsub( txt, pattern, replacewith )

self:SelectAll()
self:SetSelection( txt )
Expand Down

0 comments on commit dbe1e76

Please sign in to comment.