U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » PATCH: Improve quick comment/uncomment
PATCH: Improve quick comment/uncomment [message #6903] Mon, 04 December 2006 06:43 Go to previous message
aroman is currently offline  aroman
Messages: 18
Registered: November 2005
Promising Member
Attached is a patch to improve the 'enclosing' ability of the TheIDE.

With the attached patch, when a block of code is selected and the user hits '/', then the block of code is commented-out by prefixing each selected line with '//'.

If the same block is highlighted and '/' is hit again, then the block is uncommented.

Similarly, if the user hits '*', selected code will be commented out using /* ... */ and hitting '*' again will uncomment.

- Augusto
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding DrawXPButton
Next Topic: Trailing spaces, upper/lower case etc.
Goto Forum:
  


Current Time: Tue Apr 28 06:58:41 GMT+2 2026

Total time taken to generate the page: 0.00623 seconds