aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-11-08 00:29:33 +0000
committernyamatongwe <devnull@localhost>2001-11-08 00:29:33 +0000
commita851038db5c58b0b0a58fda0cf09d9c898dc1c71 (patch)
tree44fa308a79139cc84491c744dad914ff1f8a5f17 /src
parent491d9a811acfe8468c5d0e9da27cfb6e98ffa344 (diff)
downloadscintilla-mirror-a851038db5c58b0b0a58fda0cf09d9c898dc1c71.tar.gz
Added methods for finding the start and end of words.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index ce56ee8b5..254a99736 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4107,6 +4107,12 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETMOUSEDWELLTIME:
return dwellDelay;
+ case SCI_WORDSTARTPOSITION:
+ return pdoc->ExtendWordSelect(wParam, -1);
+
+ case SCI_WORDENDPOSITION:
+ return pdoc->ExtendWordSelect(wParam, 1);
+
case SCI_GETCOLUMN:
return pdoc->GetColumn(wParam);