예제 #1
0
        protected virtual void OnOffsetChanged(CaretLocationEventArgs e)
        {
            EventHandler <CaretLocationEventArgs> handler = this.OffsetChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
		protected virtual void OnOffsetChanged (CaretLocationEventArgs e)
		{
			EventHandler<CaretLocationEventArgs> handler = this.OffsetChanged;
			if (handler != null)
				handler (this, e);
		}
			public void DataCaretPositionChanged (object sender, CaretLocationEventArgs e)
			{
				data.ExtendSelectionTo (data.Caret.Offset);
			}