[MonoDevelop] Ctrl-K change - opinions?

Miguel Ángel Pérez mangelp at gmail.com
Fri Mar 16 13:13:52 EDT 2007


In Visual studio Ctrl-K is the first for a combination of two keys. For
example Ctrl-K and Ctrl-C add line comments to the current selected text
block and Ctrl-K and then Ctrl-U deletes them.

As i was very used to vs the first time i tried this in monodevelop i killed
the first line of the block i was going to comment :p

Configurable key bindings will be a great feature to keep all of us happy ;)

2007/3/16, Patrick McEvoy <patrick at villadays.com>:
>
> In nano Ctrl+K deletes the entire line. I think both are good shortcuts
> to have.
>
> Jeffrey Stedfast wrote:
> > http://bugzilla.ximian.com/show_bug.cgi?id=81151
> >
> > Currently, Ctrl-K will delete the entirety of the current line, but this
> > behavior differs from Emacs so it drives me a little batty sometimes ;)
> >
> > I'm not sure if the current Ctrl-K behavior emulates some other editor
> > out there (Ctrl-K doesn't do anything in Visual Studio nor SharpDevelop
> > afaict, or at least not bound to a delete-line action).
> >
> > Anyways, I've created a patch against SourceEditorView.cs (which is
> > where DeleteLine() is implemented) to make it mimic Emacs Ctrl-K
> > behavior:
> >
> >
> > example with cursor in the middle of a line:
> >
> > This is |line 1
> > This is line 2
> >
> > <Ctrl-K>
> >
> > This is |
> > This is line 2
> >
> > <Ctrl-K>
> >
> > This is |This is line 2
> >
> >
> > example at the beginning of a line:
> >
> > |This is line 1
> > This is line 2
> >
> > <Ctrl-K>
> >
> > |
> > This is line 2
> >
> > <Ctrl-K>
> >
> > |This is line 2
> >
> >
> >
> > Is anyone opposed to this change?
> >
> >
> > Jeff
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>



-- 
-- Saludos --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070316/1b0831ed/attachment.html 


More information about the Monodevelop-list mailing list