From b9ef5a06ea40e1d3c648c2c634f1fc1c50a55af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D0=BD=D0=B4=D0=B0=D1=80=D0=B5=D0=B2=20=D0=98?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD?= Date: Thu, 20 Jun 2019 10:54:23 +0200 Subject: [PATCH] fix pascalabcnet/pascalabcnetide#119 --- VisualPascalABCNET/IB/CodeCompletion/CodeCompletionActions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VisualPascalABCNET/IB/CodeCompletion/CodeCompletionActions.cs b/VisualPascalABCNET/IB/CodeCompletion/CodeCompletionActions.cs index 923541790..fe2e4649e 100644 --- a/VisualPascalABCNET/IB/CodeCompletion/CodeCompletionActions.cs +++ b/VisualPascalABCNET/IB/CodeCompletion/CodeCompletionActions.cs @@ -130,6 +130,9 @@ namespace VisualPascalABC expressionResult = expressionResult.Trim(); if (expressionResult != full_expr && full_expr.StartsWith("(")) return new List(); + + if (full_expr.Contains("^")) + full_expr = full_expr.Replace("^",""); List 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);