On Thu, 28 Jun 2007 13:57:49 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
[...]
Anyhow, not a big deal at all. The current way just seems inconsistent to me. What's more important, IMO, is the Ctrl-G Shift-Ctrl-G issue, where we wrote:
- Ctrl-G, Shift-Ctrl-G --> Use Ctrl-G to toggle.
No. Then you can't double comment a line. Ok, uses should be not that much but e.g. when commenting a block of code including some commented lines this would uncomment these particular lines which is mostly unintended. Maybe we could change Ctrl+B to Alt+G but it would be just a change of the default binding.
I like the way SciTE does it - by using '//~' so no comments are lost when toggling commenting (it uses ctrl-Q, but that's normally quit for GTK-apps):
//~ line //~ //commented line
Hmm, looks nice. So we could use Ctrl+G or whatever for comment toggling and leave the bindings for usual commenting/uncommenting undefined.
Regards, Enrico