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
 Feature Requests
 Whitespace formatting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Maxim
Ketchup Master

59 Posts

Posted - Jun 13 2007 :  05:11:17 AM  Show Profile  Reply with Quote
Shift+Ctrl+8 toggles whitespace display (I'm using VS6). The reason nobody uses it is because it ends up like trying to read line noise:

LRESULT-+CALLBACK-+WndProc-+(HWND-+hwnd,-+UINT-+message,-+WPARAM-+wParam,-+LPARAM-+lParam)
{
-+-+-+-+HDC-+hdc;
-+-+-+-+PAINTSTRUCT-+ps;
-+-+-+-+switch-+(message)
-+-+-+-+{
-+-+-+-+case-+WM_CREATE:
-+-+-+-+-+-+-+-+return-+(0);

-+-+-+-+case-+WM_PAINT:
-+-+-+-+-+-+-+-+hdc-+=-+BeginPaint-+(hwnd,-+&ps);
-+-+-+-+-+-+-+-+TextOut-+(hdc,-+0,-+0,-+"A-+Window!",-+27);
-+-+-+-+-+-+-+-+EndPaint-+(hwnd,-+&ps);
-+-+-+-+-+-+-+-+return-+(0);

-+-+-+-+case-+WM_DESTROY:
-+-+-+-+-+-+-+-+PostQuitMessage-+(0);
-+-+-+-+-+-+-+-+return-+(0);
-+-+-+-+}
-+-+-+-+return-+DefWindowProc-+(hwnd,-+message,-+wParam,-+lParam);
}


Add in VAX and you also get the whitespace characters taking on the colours of the keywords around them:


Excuse my BGR subpixel Cleartyping

What I'd like is if VAX could instead format all these whitespace-representative characters a uniform grey (or other configurable colour). Having visible whitespace on is important if one hopes to maintain a constant formatting style.

(Also, the whitespacing used in Autotext is horrible, with mixes of tabs and spaces for indenting even within single lines.)

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jun 13 2007 :  08:54:48 AM  Show Profile  Reply with Quote
I normally keep view whitespace turned off, so I had not noticed this:

case=7062

For the formatting of autotext, the easiest solution is to manually edit the autotext file:

http://support.wholetomato.com?W434

and simply replace all tabs with how ever many spaces you want. This way when the items are inserted the formatting will match your style.

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 07 2007 :  12:40:33 AM  Show Profile  Reply with Quote
case=7062 is fixed in Build 1559
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000