diff options
author | nyamatongwe <devnull@localhost> | 2008-04-27 07:49:54 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2008-04-27 07:49:54 +0000 |
commit | 05afdfab73062917988db56f56c09695bef7b0cf (patch) | |
tree | f417bd12ca0629aea1894848303450fd0d539757 /src/Editor.cxx | |
parent | 3be48e12ea69c4443d7296ad6e00bb77bf9d6f04 (diff) | |
download | scintilla-mirror-05afdfab73062917988db56f56c09695bef7b0cf.tar.gz |
Implemented GetCharacterPointer feature.
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 af60624ff..3b6e7a2c3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7579,6 +7579,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETPASTECONVERTENDINGS: return convertPastes ? 1 : 0; + case SCI_GETCHARACTERPOINTER: + return reinterpret_cast<sptr_t>(pdoc->BufferPointer()); + default: return DefWndProc(iMessage, wParam, lParam); } |