diff options
| author | johnsonj <unknown> | 2015-12-14 15:03:51 +1100 | 
|---|---|---|
| committer | johnsonj <unknown> | 2015-12-14 15:03:51 +1100 | 
| commit | 0ccfd637db4974013aabb997451b71b16394a8b0 (patch) | |
| tree | 12bd9cd0f8f7a4a40cace25d6ba307cb24c18123 /gtk | |
| parent | 1597105fb3569664744fc3016da50499de4d9b34 (diff) | |
| download | scintilla-mirror-0ccfd637db4974013aabb997451b71b16394a8b0.tar.gz | |
Block IME when some selected text is protected.
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;  		} | 
