diff options
author | nyamatongwe <devnull@localhost> | 2011-11-16 10:43:52 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-11-16 10:43:52 +1100 |
commit | 445cc61d3c5dead15aeca9c363ccbbe57018d744 (patch) | |
tree | 47688bbd73047e85901aec3b576383b621c6ecc8 /src/Editor.cxx | |
parent | 1def08bb984e864f4d34064bdb38db2e47e7bd86 (diff) | |
download | scintilla-mirror-445cc61d3c5dead15aeca9c363ccbbe57018d744.tar.gz |
Bug #3283519. CountCharacters added to count the number of
characters between two positions. From Andrey Moskalyov.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 4c647b61e..8c939fdb1 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -9259,6 +9259,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETTECHNOLOGY: return technology; + case SCI_COUNTCHARACTERS: + return pdoc->CountCharacters(wParam, lParam); + default: return DefWndProc(iMessage, wParam, lParam); } |