From c3d64c7a766cdc4d70b79c406581c90e16f606ce Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Mon, 7 Dec 2015 12:54:21 -0800 Subject: [PATCH] Fixed search navigation after selecting one variable instance (fixes #565). --- src/editor/editor.lua | 2 ++ 1 file changed, 2 insertions(+) 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,