This commit is contained in:
Бондарев Иван 2019-06-20 10:54:23 +02:00
parent ba7697a930
commit b9ef5a06ea

View file

@ -130,6 +130,9 @@ namespace VisualPascalABC
expressionResult = expressionResult.Trim();
if (expressionResult != full_expr && full_expr.StartsWith("("))
return new List<Position>();
if (full_expr.Contains("^"))
full_expr = full_expr.Replace("^","");
List<Position> poses = ccp.GetDefinition(full_expr, textArea.MotherTextEditorControl.FileName, textArea.Caret.Line, textArea.Caret.Column, only_check);
if (poses == null || poses.Count == 0)
poses = ccp.GetDefinition(expressionResult, textArea.MotherTextEditorControl.FileName, textArea.Caret.Line, textArea.Caret.Column, only_check);