We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a59f8ae commit 4356096Copy full SHA for 4356096
1 file changed
ICSharpCode.AvalonEdit/TextEditor.cs
@@ -579,6 +579,14 @@ public IDisposable DeclareChangeBlock()
579
return GetDocument().RunUpdate();
580
}
581
582
+ /// <summary>
583
+ /// Removes the current selection without copying it to the clipboard.
584
+ /// </summary>
585
+ public void Delete()
586
+ {
587
+ Execute(ApplicationCommands.Delete);
588
+ }
589
+
590
/// <summary>
591
/// Ends the current group of document changes.
592
/// </summary>
0 commit comments