diff --git a/src/editor/editor.lua b/src/editor/editor.lua index 20e3ea0a1c..376d5244c3 100644 --- a/src/editor/editor.lua +++ b/src/editor/editor.lua @@ -1333,6 +1333,8 @@ function CreateEditor(bare) idx = idx + 1 end if this then editor:SetMainSelection(this) end + -- set the current name as the search value to make subsequence searches look for it + ide.findReplace:SetFind(name) end editor:Connect(wxstc.wxEVT_STC_DOUBLECLICK,