ICSharpCode.AvalonEdit.Editing TextArea.AllowCaretOutsideSelection in C# (CSharp): 1 esempio trovato. Questo è il miglior esempio reale in C# (CSharp) per ICSharpCode.AvalonEdit.Editing.TextArea.AllowCaretOutsideSelection, estratto da progetti open source. Lo puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Temporarily allows positioning the caret outside the selection. Dispose the returned IDisposable to revert the allowance.
The text area only forces the caret to be inside the selection when other events have finished running (using the dispatcher), so you don't have to use this method for temporarily positioning the caret in event handlers. This method is only necessary if you want to run the WPF dispatcher, e.g. if you perform a drag'n'drop operation.