Do not show fonticon autocorrect window when fonticon name does not start with alphabetic characters
This commit is contained in:
parent
5b93848ace
commit
cfefd7d220
@ -229,7 +229,7 @@ namespace Components
|
||||
}
|
||||
}
|
||||
|
||||
if(fontIconStart < 0 || fontIconStart == edit->cursor)
|
||||
if(fontIconStart < 0 || fontIconStart == edit->cursor || !isalpha(static_cast<unsigned char>(edit->buffer[fontIconStart])))
|
||||
{
|
||||
context.autocompleteActive = false;
|
||||
context.lastHash = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user