Announcement

Collapse
No announcement yet.

Poor Alignment of Functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Poor Alignment of Functions

    File Type: C,C++,C# Source

    Left:
    Code:
    {
    	void B()
    	{
    		return;
    	}
    
    	void D()
    	{
    		return;
    	}
    }
    Right:
    Code:
    {
    	void A()
    	{
    		return;
    	}
    
    	void B()
    	{
    		return;
    	}
    
    	void C()
    	{
    		return;
    	}
    
    	void  D()
    	{
    		return;
    	}
    }
    Result:
    Code:
    {                         |            {                    
                              |             void A()
                              |             {
                              |              return;
                              |             }
                              |            
     void B()                 |             void B()
                              |             {
                              |              return;
                              |             }
                              |            
                              |             void C()
     {                        |             {
      return;                 |              return;
     }                        |             }
                              |            
     void D()                 |             void  D()
     {                        |             {
      return;                 |              return;
     }                        |             }
    }                         |            }
    Preferred Result:
    Code:
    {                         |            {                    
                              |             void A()
                              |             {
                              |              return;
                              |             }
                              |            
     void B()                 |             void B()
     {                        |             {
      return;                 |              return;
     }                        |             }
                              |            
                              |             void C()
                              |             {
                              |              return;
                              |             }
                              |            
     void D()                 |             void  D()
     {                        |             {
      return;                 |              return;
     }                        |             }
    }                         |            }

  • #2
    Thanks for the simple test case. Improving our alignment of text, specifically code blocks like this, is on our Wishlist. In the meantime, you would need to select blocks and use the Align With command to push things into place.
    Aaron P Scooter Software

    Comment

    Working...
    X