From 5d44df4f005722f63755b256d018edc247bae323 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 26 Aug 2007 12:29:15 +0000 Subject: Send SCN_MODIFYATTEMPTRO notification for Cut. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.cxx') 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(); -- cgit v1.2.3