aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-08-26 12:29:15 +0000
committernyamatongwe <devnull@localhost>2007-08-26 12:29:15 +0000
commit5d44df4f005722f63755b256d018edc247bae323 (patch)
tree05668f07a809dbc760144e36e66810ed726fe384 /src/Editor.cxx
parent7c54fa9a88fb815da9decc86b311d4bbbfbf530d (diff)
downloadscintilla-mirror-5d44df4f005722f63755b256d018edc247bae323.tar.gz
Send SCN_MODIFYATTEMPTRO notification for Cut.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
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();