Skip to content

Commit 8a7b356

Browse files
committed
Fixes import class autocomplete bug #823
1 parent 4b45624 commit 8a7b356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/Plugins/ASCompletion/Completion/ASComplete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3976,7 +3976,7 @@ static internal void HandleCompletionInsert(ScintillaControl sci, int position,
39763976
ContextFeatures features = ASContext.Context.Features;
39773977

39783978
// add ; for imports
3979-
if (trigger != ';' && expr.WordBefore != null
3979+
if (" \n\t".IndexOf(trigger) >= 0 && expr.WordBefore != null
39803980
&& (expr.WordBefore == features.importKey || expr.WordBefore == features.importKeyAlt))
39813981
{
39823982
sci.InsertText(sci.CurrentPos, ";");

0 commit comments

Comments
 (0)