[Lazarus] Source -> Toggle Comment

Juha (gmail) juha.manninen62 at gmail.com
Wed Mar 30 14:46:36 CEST 2011


Hi

I changed the shortcut for Toggle Comment into Ctrl+T.
I also added some more shortcuts.

Shortcut for ecToggleComment was defined as: Ctrl+VK_OEM_2.
It was displayed in menu caption as garbage.

And:
 VK_OEM_2 = $BF;
 // Used for miscellaneous characters; it can vary by keyboard.
 // For the US standard keyboard, the '/?' key

I couldn't trigger the Toggle Comment feature whatever keys I pressed.
(I don't have US keyboard).
The original Ctrl+VK_OEM_2 can still be used as an alternative shortcut, with 
keyboards that support it.

Juha




More information about the Lazarus mailing list