/// <summary> /// Initializes a new instance of the <see cref="AutoCSelectionEventArgs" /> class. /// </summary> /// <param name="Scintilla">The <see cref="Scintilla" /> control that generated this event.</param> /// <param name="bytePosition">The zero-based byte position within the document of the word being completed.</param> /// <param name="text">A pointer to the selected autocompletion text.</param> /// <param name="ch">The character that caused the completion.</param> /// <param name="listCompletionMethod">A value indicating the way in which the completion occurred.</param> public AutoCSelectionEventArgs(ZeroitCodeExplorer Scintilla, int bytePosition, IntPtr text, int ch, ListCompletionMethod listCompletionMethod) { this.Scintilla = Scintilla; this.bytePosition = bytePosition; this.textPtr = text; Char = ch; ListCompletionMethod = listCompletionMethod; }
/// <summary> /// Initializes a new instance of the <see cref="AutoCSelectionEventArgs" /> class. /// </summary> /// <param name="scintilla">The <see cref="Scintilla" /> control that generated this event.</param> /// <param name="bytePosition">The zero-based byte position within the document of the word being completed.</param> /// <param name="text">A pointer to the selected autocompletion text.</param> /// <param name="ch">The character that caused the completion.</param> /// <param name="listCompletionMethod">A value indicating the way in which the completion occurred.</param> public AutoCSelectionEventArgs(Scintilla scintilla, int bytePosition, IntPtr text, int ch, ListCompletionMethod listCompletionMethod) { this.scintilla = scintilla; this.bytePosition = bytePosition; this.textPtr = text; Char = ch; ListCompletionMethod = listCompletionMethod; }