Stephen Denne wrote: >> On Tue, August 14, 2007 5:31 pm, Raymond O'Donnell wrote: >>> Yeah, it's handy alright....I came across it first in a nice little >>> freebie text editor I use a lot (www.crimsoneditor.com), where ctrl-m >>> comments and indents the currently-selected text. > > I like the shortcut eclipse uses for toggling comments in java, and the > reason I like it is that it uses the key you'd hit to start a comment. > So how about Ctrl+hyphen for toggling comments in SQL, to add or remove -- > from the start of each selected line? > (I've written this without knowing whether that is already bound to anything.)
Sounds like a good idea - I've added it to the list. Thanks, Dave. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org