diff options
author | nyamatongwe <unknown> | 2000-05-03 07:07:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-05-03 07:07:17 +0000 |
commit | 017819beb7649ba1475f0f66090ce925a96cb373 (patch) | |
tree | 09b90f9797e9728d9e5e5b2296bdb9c6ec0a92d9 /src | |
parent | 8a1bdb60a628c895d4c51291aa3725770c0db53a (diff) | |
download | scintilla-mirror-017819beb7649ba1475f0f66090ce925a96cb373.tar.gz |
Removed non-working messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 3b53f806f..ab65382b3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2908,19 +2908,20 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { // EM_GETPUNCTUATION // EM_SETPUNCTUATION // EM_GETTHUMB + // EM_SETTARGETDEVICE // Not supported but should be: // EM_GETEVENTMASK // EM_SETEVENTMASK // For printing: // EM_DISPLAYBAND - // EM_SETTARGETDEVICE case EM_CANUNDO: return pdoc->CanUndo() ? TRUE : FALSE; case EM_UNDO: Undo(); + SetLastXChosen(); break; case EM_EMPTYUNDOBUFFER: @@ -2956,12 +2957,6 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { case EM_GETMODIFY: return !pdoc->IsSavePoint(); - case EM_SETMODIFY: - // Not really supported now that there is the save point stuff - //pdoc->isModified = wParam; - //return pdoc->isModified; - return false; - case EM_GETRECT: if (lParam == 0) return 0; @@ -3025,22 +3020,6 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { return iChar; } - case EM_GETWORDBREAKPROC: - return 0; - - case EM_SETWORDBREAKPROC: - break; - - case EM_SETLIMITTEXT: - // wParam holds the number of characters control should be limited to - break; - - case EM_GETLIMITTEXT: - return 0xffffffff; - - case EM_GETOLEINTERFACE: - return 0; - case EM_LINEFROMCHAR: if (static_cast<int>(wParam) < 0) wParam = SelectionStart(); @@ -3110,9 +3089,6 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { pdoc->SetReadOnly(wParam); return TRUE; - case EM_SETRECT: - break; - case EM_CANPASTE: return 1; |