From 1d9f732aba89d8184c3420f6ffee41e76475ec59 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 18 Aug 2014 09:58:47 +1000 Subject: Bug [#1640]. Remove dead DelChar method. From Ian Goldby. --- src/Editor.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 1c1e38d65..d298a8a5d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2132,14 +2132,6 @@ void Editor::Redo() { } } -void Editor::DelChar() { - if (!RangeContainsProtected(sel.MainCaret(), sel.MainCaret() + 1)) { - pdoc->DelChar(sel.MainCaret()); - } - // Avoid blinking during rapid typing: - ShowCaretAtCurrentPosition(); -} - void Editor::DelCharBack(bool allowLineStartDeletion) { RefreshStyleData(); if (!sel.IsRectangular()) -- cgit v1.2.3