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