aboutsummaryrefslogtreecommitdiffhomepage
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
commite2380b46c46c05604934c0d97dea4adef3c5efed (patch)
treead4162b9387bf8d46fec3efa5e51b0107714c40c
parentd6713181a43ef1cc4dfabaf859b0e8fbb2feb612 (diff)
downloadscintilla-mirror-e2380b46c46c05604934c0d97dea4adef3c5efed.tar.gz
Bug [#1640]. Remove dead DelChar method.
From Ian Goldby.
-rw-r--r--doc/ScintillaHistory.html1
-rw-r--r--src/Editor.cxx8
-rw-r--r--src/Editor.h1
3 files changed, 1 insertions, 9 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 3a448b147..487fd3719 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -453,6 +453,7 @@
</tr><tr>
<td>Vicente</td>
<td>Nick Gravgaard</td>
+ <td>Ian Goldby</td>
</tr>
</table>
<p>
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;