Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Listbox suggestions and numbers

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
SvenR Posted - Jul 15 2015 : 02:30:34 AM
Sample code:

int x = 6;
CRect rcTest(5, x, 5, 5);

When I put the cursor before the x and enter movef then VA suggests 'MoveFile'. I press <Tab> and MoveFile is inserted. If I do the same in front of a 5, then MoveFile is inserted and 5 deleted. MoveFile is only used for demonstration, in real world MoveFile is a macro.

Is this intentional? I would expect no difference in behavior between a variable and a number.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jul 15 2015 : 9:35:08 PM
Good catch!

The replace only happens when there is at least one numerical character in the string. I have put in a bug report for this, and also asked if this is intentional or not.

case=90866

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