diff --git a/src/editor/findreplace.lua b/src/editor/findreplace.lua index c43c2ddadd..199c9d4c58 100644 --- a/src/editor/findreplace.lua +++ b/src/editor/findreplace.lua @@ -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) diff --git a/src/main.lua b/src/main.lua index f7bf8b7c34..2d124d8120 100644 --- a/src/main.lua +++ b/src/main.lua @@ -104,6 +104,7 @@ ide = { contextlinesbefore = 2, contextlinesafter = 2, showaseditor = true, + zoom = 0, }, toolbar = {