Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 ')' in strings

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
mbobka Posted - Feb 27 2010 : 04:48:43 AM
Typing the ')' character in a string before another ')' character will overwrite the second one. For instance, in string like "alalalaa (bababa)" when you type ')' after 'bababa' no new ')' character is inserted, but if you type ')' after 'bababa)' then all is OK.

VAX1738-VAX1812
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 08 2010 : 2:47:50 PM
Unfortunately this has not yet been fixed, but it is still on our list of things to fix.
mbobka Posted - Apr 07 2010 : 9:57:13 PM
Still in VAX1819
accord Posted - Mar 01 2010 : 2:45:15 PM
Interesting. Now I am seeing the same effect here and put in a bug report for this:

case=40367

Thank you for the code snippet.
mbobka Posted - Mar 01 2010 : 03:07:36 AM
The problem seems to be more complicated than I supposed before. Your sample is working as you described, but if you remove double quote characters, you will see the problem. Also the problem appears in this more complicated sample:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Xml;
using System.Windows.Forms;

namespace Sample
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            var aaa = new XElement( @"alalalala hahahaha)" );
        }
    }
}


VS2008 SP1, C#

VA_X.dll file version 10.5.1738.0 built 2009.10.01
Licensed to:
VA X: [email protected] (1-user license) Support ends 2009.10.28
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Courier New 12(Pixels)
Comctl32.dll version 6.10.7600.16385
Windows 7 6.1 Build 7600
2 processors (x86-64;
WOW64)

Platform: Win32
Stable Includes:
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
accord Posted - Feb 28 2010 : 10:33:44 AM
I wasn't able to reproduce this problem using VS2008 SP1 and VAX1812. Tried in C++ and C#. What programming language were you using when you ran into this?

Can you please go to

VA Options -> System Info -> Copy Info

and paste the result (from the clipboard) into a reply post. This will give the basic information about your setup.

What happens if you

1. go to the end of a line in a function and press <enter> to insert a new line, and
2. type "alalalaa (bababa)|" to the new line (| represents the caret)
3. and go back and press ) again?

I get one more ) before the ).

If you still see the same problem, can you please export your Visual Studio and Visual Assist settings and send them us?

VA settings are easy, just use:

VA Options -> Performance -> Export Settings

and pick up the generated registry file. VS2005 and VS2008 settings are also easy, just use:

IDE tools menu -> Import and Export Settings -> Export selected environment settings

VC6 and VS2003 settings are a bit more tricky. Use regedit to export their settings directly. For VC6 export:

HKEY_CURRENT_USER\\Software\\Microsoft\\DevStudio\\6.0\
and for VS2003 export:

HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\7.1\
You can send the files VIA this form:
http://www.wholetomato.com/support/contact.asp

So I can export them here to see if I can reproduce your problem using your settings. Please include the URL of this thread in the description, so we can match it up.

However, if you do not see the problem with these steps, then what is the difference when it happens? Do you have something after or before the string?

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