Update CodeCompletionActions.cs (#3323)

Показ Code Completion Window по Ctrl-Space, если курсор находится сразу после точки (как сделано в Win версии). Текущее поведение - после точки ccw не показывать, только если курсор переместить на несколько символов вправо от точки.
This commit is contained in:
Nikolay Kuznetsov 2025-07-17 10:08:54 +03:00 committed by GitHub
parent cc266b3863
commit 89e02b504e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -691,7 +691,7 @@ namespace VisualPascalABC
completionDataProvider.preSelection = CodeCompletion.CodeCompletionController.CurrentParser.LanguageInformation.FindPattern(off, text, out is_pattern);
if (!is_pattern && off > 0 && text[off - 1] == '.')
key = '$';
key = '_';//was '$'
codeCompletionWindow = PABCNETCodeCompletionWindow.ShowCompletionWindow(
VisualPABCSingleton.MainForm, // The parent window for the completion window
textArea.MotherTextEditorControl, // The text editor to show the window for