Exemple #1
0
		internal UserListItemSelected(SCNotification eventSource)
		{
			_listType = (int)eventSource.wParam;
			_text = Utilities.MarshalStr(eventSource.text);
		}
Exemple #2
0
		public NativeScintillaEventArgs(Message Msg, SCNotification notification)
		{
			_msg			= Msg;
			_notification	= notification;
		}
Exemple #3
0
 internal UserListItemSelected(SCNotification eventSource)
 {
     _listType = (int)eventSource.wParam;
     _text     = Utilities.MarshalStr(eventSource.text);
 }
Exemple #4
0
        internal void FireMarginClick(SCNotification n)
        {
            Margin m = Margins[n.margin];
            Keys k = Keys.None;

            if ((n.modifiers & (int)KeyMod.Alt) == (int)KeyMod.Alt)
                k |= Keys.Alt;

            if ((n.modifiers & (int)KeyMod.Ctrl) == (int)KeyMod.Ctrl)
                k |= Keys.Control;

            if ((n.modifiers & (int)KeyMod.Shift) == (int)KeyMod.Shift)
                k |= Keys.Shift;

            OnMarginClick(new MarginClickEventArgs(k, n.position, Lines.FromPosition(n.position), m, m.AutoToggleMarkerNumber, m.IsFoldMargin));
        }
Exemple #5
0
 public NativeScintillaEventArgs(Message Msg, SCNotification notification)
 {
     _msg          = Msg;
     _notification = notification;
 }