Skip to content

Commit

Permalink
Merge pull request #1978 from TaylorRatliff/master
Browse files Browse the repository at this point in the history
Issue #1974: E2: Ctrl+H Replace 'Match Whole Word' doesn't work
  • Loading branch information
thegrb93 authored Sep 12, 2019
2 parents 6b5274e + dbe1e76 commit 1b4c133
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 1b4c133

Please sign in to comment.