aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-05-26 15:25:57 +1000
committernyamatongwe <unknown>2012-05-26 15:25:57 +1000
commit215215c5fc8f76e0857602b89a5ed1d7c41c080c (patch)
treef2785b94e34ef728479bc23986b8f45c54dc6cb5 /src/Editor.cxx
parent00c771cecda620db28cec9e4c50830f542e3a829 (diff)
downloadscintilla-mirror-215215c5fc8f76e0857602b89a5ed1d7c41c080c.tar.gz
Add DeleteRange method.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 8aea4db1d..d72ff302c 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7480,6 +7480,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
ClearAll();
return 0;
+ case SCI_DELETERANGE:
+ pdoc->DeleteChars(wParam, lParam);
+ return 0;
+
case SCI_CLEARDOCUMENTSTYLE:
ClearDocumentStyle();
return 0;