diff options
author | nyamatongwe <devnull@localhost> | 2007-08-26 12:29:15 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-08-26 12:29:15 +0000 |
commit | 5d44df4f005722f63755b256d018edc247bae323 (patch) | |
tree | 05668f07a809dbc760144e36e66810ed726fe384 /src/Editor.cxx | |
parent | 7c54fa9a88fb815da9decc86b311d4bbbfbf530d (diff) | |
download | scintilla-mirror-5d44df4f005722f63755b256d018edc247bae323.tar.gz |
Send SCN_MODIFYATTEMPTRO notification for Cut.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index a7aff6109..372ba0809 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3413,6 +3413,7 @@ void Editor::ClearDocumentStyle() { } void Editor::Cut() { + pdoc->CheckReadOnly(); if (!pdoc->IsReadOnly() && !SelectionContainsProtected()) { Copy(); ClearSelection(); |