1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

CheckReadOnly for Autocomplete

This commit is contained in:
Brian Fiete 2024-03-16 11:01:35 -04:00
parent ddd9b1b218
commit dea665055e

View file

@ -4365,6 +4365,8 @@ namespace IDE.ui
if ((needsFreshAutoComplete) && (!didAutoComplete) && (mOnGenerateAutocomplete != null))
{
if (CheckReadOnly())
return;
if (IsCursorVisible(false))
mOnGenerateAutocomplete(keyChar, isHighPri ? .HighPriority : default);
}