This commit is contained in:
parent
ba7697a930
commit
b9ef5a06ea
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue