mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CodeEditor, ide: ReadOnly mode now blocks all write operations (some of advanced ones were not blocked)
git-svn-id: svn://ultimatepp.org/upp/trunk@11112 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
93253148ea
commit
1e89b14fcd
8 changed files with 139 additions and 120 deletions
|
|
@ -611,6 +611,9 @@ void CodeEditor::OpenNormalFindReplace(bool replace)
|
|||
|
||||
void CodeEditor::FindReplace(bool pick_selection, bool pick_text, bool replace)
|
||||
{
|
||||
if(IsReadOnly())
|
||||
replace = false;
|
||||
|
||||
if(findreplace.IsOpen())
|
||||
CloseFindReplace();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue