internal AutoCompleteSelectionEventArgs(SCNotification eventSource, Encoding encoding) { _wordStartPosition = (int)eventSource.lParam; _text = Utilities.IntPtrToString(encoding, eventSource.text, eventSource.length); }
/// <summary> /// Initializes a new instance of the NativeScintillaEventArgs class. /// </summary> /// <param name="msg">Notification Message sent from the native Scintilla</param> /// <param name="notification">SCNotification structure sent from Scintilla that contains the event data</param> public NativeScintillaEventArgs(Message msg, SCNotification notification) { _msg = msg; _notification = notification; }