update for fix #667
This commit is contained in:
parent
ce80ce8dac
commit
8f05c4f90f
|
|
@ -125,7 +125,9 @@ namespace VisualPascalABC
|
|||
ccp = new CodeCompletionProvider();
|
||||
string full_expr;
|
||||
string expressionResult = FindFullExpression(textContent, textArea, out ccp.keyword, out full_expr);
|
||||
if (ccp.keyword == KeywordKind.CommonKeyword)
|
||||
if (expressionResult != null)
|
||||
expressionResult = expressionResult.Trim();
|
||||
if (ccp.keyword == KeywordKind.CommonKeyword && !expressionResult.Contains(" "))
|
||||
return new List<Position>();
|
||||
List<Position> poses = ccp.GetDefinition(full_expr, textArea.MotherTextEditorControl.FileName, textArea.Caret.Line, textArea.Caret.Column, only_check);
|
||||
if (poses == null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue