aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-08-18 09:58:47 +1000
committerNeil <nyamatongwe@gmail.com>2014-08-18 09:58:47 +1000
commit1d9f732aba89d8184c3420f6ffee41e76475ec59 (patch)
tree31d8fbd7c717d2931167d0b5bae03e77375709fe /src
parent58659d836121a852845c4a26511b906b7d6c3347 (diff)
downloadscintilla-mirror-1d9f732aba89d8184c3420f6ffee41e76475ec59.tar.gz
Bug [#1640]. Remove dead DelChar method.
From Ian Goldby.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx8
-rw-r--r--src/Editor.h1
2 files changed, 0 insertions, 9 deletions
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())
diff --git a/src/Editor.h b/src/Editor.h
index 7e505bb09..a1f39e7c8 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -403,7 +403,6 @@ protected: // ScintillaBase subclass needs access to much of Editor
void SelectAll();
void Undo();
void Redo();
- void DelChar();
void DelCharBack(bool allowLineStartDeletion);
virtual void ClaimSelection() = 0;