public override bool IsInsertionTrigger( SourceText text, int characterPosition, OptionSet options ) => CompletionUtilities.IsTriggerCharacter(text, characterPosition, options) || text[characterPosition] == ' ';
public override bool IsTriggerCharacter(SourceText text, int characterPosition, OptionSet options) { if (!options.GetOption(CSharpCompletionOptions.IncludeSnippets)) { return(false); } return(CompletionUtilities.IsTriggerCharacter(text, characterPosition, options)); }
public override bool IsTriggerCharacter(SourceText text, int characterPosition, OptionSet options) { return(CompletionUtilities.IsTriggerCharacter(text, characterPosition, options)); }
internal override bool IsInsertionTrigger(SourceText text, int characterPosition, OptionSet options) { return(CompletionUtilities.IsTriggerCharacter(text, characterPosition, options) || text[characterPosition] == ' '); }
public override bool IsInsertionTrigger(SourceText text, int characterPosition, CompletionOptions options) => CompletionUtilities.IsTriggerCharacter(text, characterPosition, options);