EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
Why Comment/Uncomment Functionality Becomes Enabled Only When Line(s) Selected? | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| JohnQSmith | Posted on: 1/17/2013 12:11 pm |
Not too shy to talk ![]() ![]() Joined: 7/15/2011 From: Posts: 30 |
Re: Why Comment/Uncomment Functionality Becomes Enabled Only When Line(s) Selected? Quote:
Hmmm! IMHO, the most desirable functionality is a single, toggle command which can be assigned a keyboard shortcut, working on the current line if none is selected or on all selected lines is. If any of these are already commented out, uncomment it! Because the code I'm editing already has comments that I want to keep. For example, Using your idea, if I wanted to comment out that loop, I'd end up with which would be wrong. If I comment out that block, it should add additional comments on previously commented lines like that way when I later uncomment it, it will be back the way it was when I started. |
| Flat | Previous Topic | Next Topic |
| Register To Post | |


