Added search.zoom setting to zoom search results (#416).

This commit is contained in:
Paul Kulchenko
2015-04-25 21:41:29 -07:00
parent 119c53f3b2
commit ca47551edb
2 changed files with 4 additions and 0 deletions

View File

@@ -515,6 +515,9 @@ function findReplace:RunInFiles(replace)
reseditor:SetMarginWidth(m, 0)
end
end
if tonumber(ide.config.search.zoom) then
reseditor:SetZoom(tonumber(ide.config.search.zoom))
end
reseditor:MarkerDefine(ide:GetMarker("searchmatchfile"))
reseditor:Connect(wx.wxEVT_LEFT_DCLICK, function(event)
if not wx.wxGetKeyState(wx.WXK_SHIFT)