Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 8485318

Browse files
committed
Fix cutting text from editor when the Clipboard class throws an ExternalException.
http://community.sharpdevelop.net/forums/t/21713.aspx
1 parent 3b03e24 commit 8485318

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Editing/EditingCommandHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ static bool CopySelectedText(TextArea textArea)
342342
} catch (ExternalException) {
343343
// Apparently this exception sometimes happens randomly.
344344
// The MS controls just ignore it, so we'll do the same.
345-
return false;
346345
}
347346

348347
string text = textArea.Selection.GetText();

0 commit comments

Comments
 (0)