Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Wrap code in { needs a tweak
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Mar 25 2004 :  3:27:17 PM  Show Profile
The new wrap code in {}s is very cool, except it doesn't work correctly unless I select the entire lines (from the start). It would be nice to have VA autodetect this. For example, you could just select from the middle of line 1 to the middle of line 4, and the {}s would wrap automatically from start of line 1 to end of line 4.

Otherwise, ya gotta use to mouse or home keys, and that takes too much time.

Cheers.

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 01 2004 :  7:20:30 PM  Show Profile
Any comments on this one guys?
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Apr 01 2004 :  9:43:25 PM  Show Profile
I'm not saying it shouldn't work, but I haven't understood why you want to do this. Do you have several commands on one line? Or am I missing something?

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 02 2004 :  07:14:52 AM  Show Profile
i think i follow. if you have the code:

case REPORT_PATIENT:
    displayPatient();
    break;


in the middle of a switch block, and now highlight the red bits:

case REPORT_PATIENT:
    displayPatient();
    break;


as a single lump, and then press { you get a mess. as a comparison, with the same block highlighed if you press / then all 3 lines are commented out, even though you have only partly selected lines 1 and 3.

bonus, i have just discovered by doing this that / works on partly selected lines

if you are using the keyboard to select lines then this sort of partial selecting is normally easier than selecting the entire lines.

zen is the art of being at one with the two'ness
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Apr 02 2004 :  11:40:56 AM  Show Profile
Oh, I see. I misread it earlier.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 06 2004 :  2:09:36 PM  Show Profile
exactly! :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000