diff options
Diffstat (limited to 'gtk')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 19576ce9e..eaf2e26f8 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2434,7 +2434,7 @@ void ScintillaGTK::PreeditChangedInlineThis() {  	// Copy & paste by johnsonj with a lot of helps of Neil  	// Great thanks for my foreruners, jiniya and BLUEnLIVE  	try { -		if (pdoc->IsReadOnly()) { +		if (pdoc->IsReadOnly() || SelectionContainsProtected()) {  			gtk_im_context_reset(im_context);  			return;  		}  | 
