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
 cursor jumps to end of line when adding a . or ->
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

msew
Ketchup Master

94 Posts

Posted - Feb 17 2004 :  05:37:25 AM  Show Profile
example:

you have have a class with a private impl struct.


so you have

void someNameSpace::someClass:someFunc( someClass* p_someData )
{
m_impl->aDataPointer = p_someData;
}


so now say you go to the

m_impl->aDataPointer


and type either . or -> (in this case the . turns into an -> )

your cursor will end up at end of the line after the ;


really aggrevating.


Is there some option to turn this behavior off or this a bug?


my info:

VA_X.dll file version 10.0.1216.0
Licensed to: Trial License
VA4 License: Trial License
VAOpsWin.dll version 1.0.0.33
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Custom
Stable Includes:
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
C:\\depot_vanguard\\coding\\source\\xlib\\boost\\boost;

Library Includes:
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

Other Includes:




thanks


~msew


support
Whole Tomato Software

5566 Posts

Posted - Feb 17 2004 :  12:07:37 PM  Show Profile
The behavior is a bug.

What keyboard mapping scheme is selected in Tools|Options|Environment|Keyboard? Does the problem remain if you switch temporarly to a default scheme?

Whole Tomato Software, Inc.
Go to Top of Page

msew
Ketchup Master

94 Posts

Posted - Feb 17 2004 :  7:09:25 PM  Show Profile
>Tools|Options|Environment|Keyboard

Default Settings


Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 23 2004 :  05:29:21 AM  Show Profile
Got it!

Having seen two of msew's "jump to end of line" bugs (1571 and this one) in quick succession, although I'd never seen them before, I started thinking what I'd changed.

It turns out that they only happen if "Word wrap" is enabled.

I know that VA doesn't work with Word wrap (407, 416). Most people probably don't know that though, and unlike my original bug in 407, it's not obvious that this bug is anything to do with Word wrap.


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

msew
Ketchup Master

94 Posts

Posted - Feb 26 2004 :  07:02:13 AM  Show Profile
this will be fixed ? :-)


I will die without word wrapping
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 26 2004 :  07:18:44 AM  Show Profile
I would like to see it fixed too, but my understanding from thread 416 is that it won't happen.

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

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Feb 26 2004 :  07:20:14 AM  Show Profile
I wouldn't bet on that one, too...

WordWrap already had to be disabled in Visual Assist .NET, as Stephen's link shows...

Go to Top of Page

unsatisfied
New Member

3 Posts

Posted - Feb 26 2004 :  10:39:55 PM  Show Profile
How is anyone expected to use a plugin like this? With bugs like this it renders VC++ totally unusable & disabled the beta, then today I found out they planned to charge money for this thing... something I can't believe they would do considering it makes writing OO code impossible.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 27 2004 :  04:40:44 AM  Show Profile
Is this a troll?

I agree it's bad to have to choose between Word Wrap and Visual Assist, but VA definitely wins.

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 - Feb 27 2004 :  06:36:32 AM  Show Profile
this is only a troll if we get upset ;)

as for work wrap, i am moving from Vim under Unix (via a dumb terminal) to VS + VAX under windows. i have never used word wrap in Vim, so i am not missing it in VS. as for this tool, when i first started using VS i refused to use its editor, and did all of my editing in Vim for windows. it is only with VA that i am prepared to use the VS editor.

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

unsatisfied
New Member

3 Posts

Posted - Feb 27 2004 :  09:50:34 AM  Show Profile
It's not a troll if it's a valid point, I'm not making anything up here but trying to bring a major problem to attention, there are many others who installed VA X, wrote <20 lines of code, and uninstalled it or disabled it as I did. I re-enabled it out of curiosity when the "buy" dialog came up, and I've found that the syntax colouring and autocomplete work better than the standard 2/3 of the time, but I think that at the moment a lot of people are going to have a hard time justifying a purchase like that.

PS. Disabling word wrap is no big deal to me, but there was no indication that I should when I installed the plugin.
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Feb 27 2004 :  11:11:35 AM  Show Profile
Although in my opinion unsatisfied is overreacting, it had somehow gotten by me that Word Wrap must be disabled to use VAX. Here's my two cents.

Let me first be clear that I don't use Word Wrap, I don't like Word Wrap, and I don't understand why anyone would ever use Word Wrap. It feels strange and awkward to me. But, having said that, Word Wrap is a major new feature in the IDE, and I don't think VAX can get away with not supporting it. I think it's too big of a restriction, and will (here's the bottom line) hurt sales.

unsatisfied's hasty reaction, like it or not, is probably typical: if it doesn't support Word Wrap, it's not a complete product, so I'll uninstall it after 20 lines of code.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Feb 27 2004 :  11:22:20 AM  Show Profile
Sorry? Hello? Word Wrap? I mean thats a nice feature in a word processor, but for writing code its pretty useless. (Ok, given the amount of screen space wasted by the "tool" windows of VS.NET, it might be actually useful sometimes, so one can edit anything in the remaining 320x200 source code window)
Just turn off all that space wasting tool windows, make them autohide, buy a monitor > 15" and use a resolution > 800x600. Then you'll never ever need to word wrap any code.
But probably its now just me overreacting. I still expect that people know how to use a scroll bar, or type Ctrl+PgDn.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 27 2004 :  11:39:50 AM  Show Profile
Yes, Uniwares, you are overreacting! msew said that he had two source code windows side-by-side. That doesn't seem unreasonable to me — in fact, I often do that in emacs, although I find the VS implementation too cumbersome to use. It also seems like a good reason to use Word Wrap.

I agree with Larry. I can live without Word Wrap, but some people can't. There's no point in arguing about which development environment is "right" any more than we should argue over colours. The fact is that if VA doesn't support them, they won't buy VA. The Tomato Growers have to weigh up the difficulty of supporting it against the lost sales.

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

unsatisfied
New Member

3 Posts

Posted - Feb 27 2004 :  12:53:59 PM  Show Profile
I hate wordwrap as well, but that's not the issue I didn't even mean to turn wordwrap on, by habit my lines of code rarely get long enough for me to notice wordwrap, and I had just reinstalled the IDE on a new computer. I'm not sure how wordwrap got turned on, and until I came here it was my impression (as well as the impression of countless others who will not spend the time looking for a reason) that the bug was part of the plugin, and not the result of wordwrap being on.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Feb 27 2004 :  1:07:30 PM  Show Profile
quote:
Originally posted by Stephen

Yes, Uniwares, you are overreacting!


Uhm, guessed so

quote:
Originally posted by Stephen

msew said that he had two source code windows side-by-side.

No, he just said he used vertical split windows. And that split windows has some problems on its own we know already.

Anyway, I agree that VA should disable the word wrap and bring a big, fat warning everytime the user turns it on
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 27 2004 :  3:45:50 PM  Show Profile
Fixed in build 1218.

Whole Tomato Software, Inc.

Edited by - support on Mar 01 2004 11:54:19 AM
Go to Top of Page

msew
Ketchup Master

94 Posts

Posted - Mar 02 2004 :  11:19:19 PM  Show Profile
this fails in the following case


                                                      word wrapped ->| 
                                                                     |
std::string test = L"jfjf" << someStructOne << L"aahhh" << L"dddddd" | << someStructTwo. << L"fff";
                                                                     |



if you put a . after the someStructTwo and that part of the line has been word wrapped then the caret will go to the end of the line.

someStructOne works fine and does not move the caret


the L"" will fail on the wrapped line
the -> will fail on the wrapped line
the . will fail on the wrapped line





VA_X.dll file version 10.0.1218.0
Licensed to: Trial License
VA4 License: Trial License
VAOpsWin.dll version 1.0.0.40
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Custom
Stable Includes:
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
C:\\depot_vanguard\\coding\\source\\xlib\\boost\\boost;

Library Includes:
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

Other Includes:




Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 03 2004 :  10:57:40 AM  Show Profile
Build 1219 includes more fixes related to word wrap.

Whole Tomato Software, Inc.

Edited by - support on Mar 04 2004 11:55:21 PM
Go to Top of Page

msew
Ketchup Master

94 Posts

Posted - Mar 06 2004 :  02:36:39 AM  Show Profile
what on earth! I am still using 1218?!?!

I installed and it asked me to reboot and what do you know I am clearly on 1218.

!@#$%

reinstalling again!
Go to Top of Page

msew
Ketchup Master

94 Posts

Posted - Mar 06 2004 :  08:21:56 AM  Show Profile
kk 1219 fixed this for me!

sweetness!
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