ARCed.Scintilla.SnippetChooser.TextSnippetDocumentChange C# (CSharp) Method

TextSnippetDocumentChange() private method

private TextSnippetDocumentChange ( object sender, NativeScintillaEventArgs e ) : void
sender object
e NativeScintillaEventArgs
return void
		private void TextSnippetDocumentChange(object sender, NativeScintillaEventArgs e)
		{
			////	If for any reason the window DOES manage to hide itself
			////	we merely reshow it.
			if (!this.txtSnippet.AutoComplete.IsActive && Visible)
			{
				int pos = this.Scintilla.Caret.Position;
				this.Scintilla.Caret.Goto(0);
				this.txtSnippet.AutoComplete.Show(0, this._snippetList);
				this.Scintilla.Caret.Goto(pos);
			}
		}
#pragma warning restore 612, 618