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
 VAX 1426: brackets around selection in strings
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 14 2005 :  5:14:25 PM  Show Profile
Not sure what is the intended behaviour, but it is not consistent.

When I select chars inside a C string literal, press any of the opening bracket keys, VAX most of the times puts a bracket pair around the selection. Sometimes it does not.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 15 2005 :  4:00:53 PM  Show Profile
i have just tried this about 50 times on perhaps 10 different string and selections, every time the selected text was surrounded pressing either '{' or '('

when this fails, if you try again on the same selection does it work the next time? or do you have certain strings / selections inside strings that never select?

a case where this fails would be easier that a random problem.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 15 2005 :  4:45:45 PM  Show Profile
Certainly no definitive case. Seems rather random to me. My guess is that it happens when typing rather quickly and VAX is reparsing.
I can try it 10 times at the same place and it will work 10 times, and fail at the next string.
And the strings are really simple ones, no macros, no concatenations, etc.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 17 2005 :  7:20:11 PM  Show Profile
We can reproduce the problem inside and outside of strings, and you are correct in assuming it is related to timing.

Select a symbol or word and hold down ( until the (((())))'s get replaced with (((((('s.

case=847
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