mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-25 02:58:02 +02:00
CheckReadOnly for Autocomplete
This commit is contained in:
parent
ddd9b1b218
commit
dea665055e
1 changed files with 2 additions and 0 deletions
|
@ -4365,6 +4365,8 @@ namespace IDE.ui
|
||||||
|
|
||||||
if ((needsFreshAutoComplete) && (!didAutoComplete) && (mOnGenerateAutocomplete != null))
|
if ((needsFreshAutoComplete) && (!didAutoComplete) && (mOnGenerateAutocomplete != null))
|
||||||
{
|
{
|
||||||
|
if (CheckReadOnly())
|
||||||
|
return;
|
||||||
if (IsCursorVisible(false))
|
if (IsCursorVisible(false))
|
||||||
mOnGenerateAutocomplete(keyChar, isHighPri ? .HighPriority : default);
|
mOnGenerateAutocomplete(keyChar, isHighPri ? .HighPriority : default);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue