Skip to content
Browse files

Don't mix up SynHighlighterSQL.TtkTokenKind enum types with System.TT…

  • Loading branch information
ansgarbecker committed Dec 15, 2019
1 parent 8eba64c commit feeb1106a783dd7c9dfbaa297efc17476cd54d5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/main.pas
@@ -6025,7 +6025,7 @@ procedure TMainForm.SynCompletionProposalExecute(Kind: SynCompletionType;
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

0 comments on commit feeb110

Please sign in to comment.
You can’t perform that action at this time.