aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 4c3c322e..59322c68 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -365,11 +365,6 @@ events_connect(events.UPDATE_UI, function()
_L['Col:'], col, lexer, eol, tabs, enc)
end)
--- Toggles folding.
-events_connect(events.MARGIN_CLICK, function(margin, pos, modifiers)
- if margin == 2 then buffer:toggle_fold(buffer:line_from_position(pos)) end
-end)
-
-- Updates the statusbar and titlebar for a new Scintilla document.
events_connect(events.BUFFER_NEW, function() events.emit(events.UPDATE_UI) end)
events_connect(events.BUFFER_NEW, function() set_title() end)