comment-uncomment on multiple selected lines problem

837 views
Skip to first unread message

jan

unread,
Dec 4, 2006, 9:20:59 PM12/4/06
to PyScripter
I have been using PyScripter now for a year or so and am very pleased
with it. A problem cropped up with the new version. When you select
several lines and click the comment button (##) then each line is
preceded by ##. This is a quick way to comment out a block of lines.
However, it is not possible to uncomment these lines again by clicking
the comment button. It is possible to do this with a single line: click
comment and then click comment again to un-comment the single line. I
think in the past there were two buttons, one to comment, one to
uncomment. It would be nice to restore the ability to uncomment a
selected block of lines.

Thanks for this terrific development environment!

Kiriakos Vlahos

unread,
Dec 4, 2006, 11:47:07 PM12/4/06
to PyScr...@googlegroups.com
Jan

This has been fixed and will be available as the unofficial version 1.7.2.6.  You can follow unofficial releases at pyscripter.googlepages.com .  In the meantime you can do one of two things:
   a)  When you select a block for toggling comments end the block selection at the last character of the last line of the block and not at the first character of the next line.
   b)  Use the comment/uncomment commands  Ctrl+Alt+./  Ctrl+Alt++  only available  as shortcuts and not via the menu.
 
Regards

Kiriakos

jan

unread,
Dec 5, 2006, 11:51:17 AM12/5/06
to PyScripter
Thanks for the quick response!

Reply all
Reply to author
Forward
0 new messages