mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Don't mix up SynHighlighterSQL.TtkTokenKind enum types with System.TTypeKind
This commit is contained in:
@@ -6025,7 +6025,7 @@ begin
|
||||
Editor := Proposal.Form.CurrentEditor;
|
||||
Editor.GetHighlighterAttriAtRowColEx(Editor.PrevWordPos, Token, TokenTypeInt, Start, Attri);
|
||||
CanExecute := AppSettings.ReadBool(asCompletionProposal) and
|
||||
(not (TtkTokenKind(TokenTypeInt) in [tkString, tkComment]));
|
||||
(not (TtkTokenKind(TokenTypeInt) in [SynHighlighterSQL.tkString, SynHighlighterSQL.tkComment]));
|
||||
if not CanExecute then
|
||||
Exit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user