[MonoDevelop] Copy empty clears clipboard

Oskar Berggren oskar.berggren at gmail.com
Tue Sep 20 10:48:23 EDT 2011


2011/9/20 Matt Calder <mvcalder at gmail.com>:
> All,
>
> I don't know if this qualifies as a bug but it certainly is a
> nuisance. Control-C copies to the clipboard any selected text. When
> pasting, I typically move to the destination location, and Control-V
> to paste. Often, I inadvertantly Control-C rather than Control-V,
> which MD interprets as a desire to copy an empty selection, this
> clearing whatever I had copied, and requiring me to re-select,
> re-copy, and ever so carefully paste. I admit my record do-over count
> is greater than three in a single paste-effort. The other two IDEs
> open on my desktop (Wing, and Eclipse) do not do this, they ignore
> Control-C if no text is selected. I wonder, should this be filed as a
> bug? Can it be "fixed" via a preference?
>


This mimics the default behavior of Visual Studio. However, Visual
Studio, at least version 2010, do have a setting for this. (Option
"Apply Cut or Copy commands to blank lines when there is no
selection", which can be set individually for each programming
language. No idea why MS thought you need to set this per language.)

/Oskar


More information about the Monodevelop-list mailing list