Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Better handling of multiline comment feature

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
xMRi Posted - May 07 2015 : 03:16:26 AM
I like the multiline comment feature.

But stopping it leaves the caret at a wrong indent.

1. Stopping a multiline comment with just pressing Enter is OK, but leaves an empty comment block. I don't like this

   // Line1
   // Line2
   // 
   Code();


2. Pressing Ctrl+Shift+L. Removes the comment but sets the carte just to the start of the line. The indent is lost.

   // Line1
   // Line2
   // 
<- Caret is here


3. I prefer the Undo function. As in Word, when I don't want the any auto formatting. But again like in 2. the caret moves to the far left column.

4. Backspace isn't a solution. I need 3 keystrokes to undo the comment chars.

Solution would be, that Ctrl+Shift+L moves the caret to the correct indent or that undo also moves the caret to the correct indent. Or even a single backspace just deletes the whole inserted comment.
3   L A T E S T    R E P L I E S    (Newest First)
xMRi Posted - May 08 2015 : 01:14:58 AM
Thx Sean. This works!

In Detail:
The command Edit.WordDeleteToStart (in most cases Ctrl+Backspcae) does the Job and deletes the comment and moves the caret to the correct indent.
sean Posted - May 08 2015 : 12:36:20 AM
Does Ctrl+Backspace do what you want in that situation?
feline Posted - May 08 2015 : 12:20:03 AM
This makes a great deal of sense, I have put in a feature request for this:

case=89606

it's one of those ideas that seems obvious now someone has pointed it out

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000