Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VAX Outline: different view by using pragma region

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
arp Posted - Oct 17 2008 : 05:24:06 AM
I'm using VS2008 and VAX 1649 with C++. In the header files will showed the indentation with #pragma region with very different behavior.
Source code:

VAX outline window:


When the #pragma region after the access keyword (private, protected, public), then is the representation of the indentation good , otherwise will moved the indentation after right .
6   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 01 2008 : 07:46:39 AM
case=20612 is fixed in build 1707
feline Posted - Oct 28 2008 : 10:56:55 AM
Thank you for the code, this made it a lot easier. I am seeing the same thing here, thank you for the clear description.

case=20612
arp Posted - Oct 28 2008 : 07:21:51 AM
Here is the source code:


#ifndef __Test_h__

#define __Test_h__

class Test
{
  protected:
#pragma region Constructor
    Test();
#pragma endregion
  public:
#pragma region Operator
    bool operator <(const Test&) const;
#pragma endregion
#pragma region Implementation
#pragma endregion
};

class Test1
{
#pragma region Constructor
  protected:
    Test1();
  public:
    Test1(const Test1&);
#pragma endregion
#pragma region Operator
  protected:
    Test2& operator =(const Test2&);
  public:
    bool operator <(const Test2&) const;
#pragma endregion
#pragma region Implementation
#pragma endregion
};

class Test2
{
  public:
#pragma region Constructor
    Test2();
#pragma endregion
  protected:
#pragma region Operator
    Test2& operator =(const Test2&);
#pragma endregion
  private:
#pragma region Implementation
#pragma endregion
};

#endif
feline Posted - Oct 27 2008 : 11:45:36 AM
Can you paste your test code into a forum reply please? Otherwise I have to retype all of it from the screen shot, which is a bit slow

Part of this looks correct, since VA Outline is showing things inside the #pragma regions, but clearly the class test2 is not supposed to be shown indented like that.
arp Posted - Oct 27 2008 : 05:02:21 AM
I have changed the links to the images.
feline Posted - Oct 17 2008 : 09:15:29 AM
I cannot see your K drive, so the images do not load for me. This FAQ on posting images may help you:

http://docs.wholetomato.com?W128

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