diff options
author | nyamatongwe <unknown> | 2007-08-26 12:29:15 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-08-26 12:29:15 +0000 |
commit | 22cf596d1bbeba05522af6c3c229454396b2ebb3 (patch) | |
tree | 05668f07a809dbc760144e36e66810ed726fe384 /src/Editor.cxx | |
parent | ffd7a687bfaf87ddb95fb9292bf04e9588e3a09f (diff) | |
download | scintilla-mirror-22cf596d1bbeba05522af6c3c229454396b2ebb3.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(); |