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
 Suggest Code From Surrounding Lines Irritation
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kempus
Junior Member

12 Posts

Posted - Mar 18 2004 :  09:13:16 AM  Show Profile
Hi,
I don't suppose there is a any solution to this one but here goes...

Previous code
m_bSuccess = FALSE


About to type later in the file - m_bSuccess = TRUE
m_bSuccess =|


Typing <space> directly after the equals automatically inserts text from surrounding code (in this case FALSE). This is a tad irritating as I always add spaces around =. When I next use the symbol I usually get what I don't want as the auto suggest activates. I have all the completion options turned on. As I said, I don't know any easy solution to this but I just wanted to add my comments

Tim

VA_X.dll file version 10.0.1220.0
Licensed to:
VA 6.0:
VAOpsWin.dll version 1.0.0.44
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Lucida Console 12(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Win32 (x86)
Stable Includes:
C:\\Program Files\\Microsoft SDK\\include;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
c:\\program files\\processlayer;
C:\\DEVELOPMENT\\SRC\\ALIEN\\ZLIB;
C:\\DEVELOPMENT\\SRC\\ALIEN\\ZLIB\\contrib\\minizip;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 18 2004 :  09:46:12 AM  Show Profile
You probably want to turn off Options->Text Editor->Completion->Any character not valid in a symbol. Just accept suggestions with Tab, is my recommendation.

Having said which, you've discovered a rather nasty interaction between two features. It would be nice if they could find a way round this.

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

support
Whole Tomato Software

5566 Posts

Posted - Mar 18 2004 :  11:34:25 AM  Show Profile
You found a bug. Per the tooltip for "Suggest bits...", such suggestions should be selected only with Tab or Return. This appears not to be the case. Space works as well. We will fix this problem.

The option to accept with "any character not valid..." is included for VB users accustomed to such behavior. We are not fond of it ourselves. We recommend not setting the option unless you are accustomed to such behavior.

Whole Tomato Software, Inc.
Go to Top of Page

asmout
Ketchup Master

58 Posts

Posted - Mar 20 2004 :  7:26:08 PM  Show Profile
quote:
Just accept suggestions with Tab, is my recommendation.



Sadly, in VC6 there is still a bug (first reported in http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=1719 for 1218) which means that completion with tab does not work unless you also open listboxes with tab.
Go to Top of Page

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Mar 25 2004 :  10:54:49 AM  Show Profile
I like the "any character not valid..." option, especially for the simicolon and open parentheses. Most of the time I like it for the space as well and I don't do VB, at least not well. What I have done is turn off the surrounding code option. I do hope they will work together soon.

Ken
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