Posted 20 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC

In Visual C# 2005, the 'DeleteHorizontalWhiteSpace' command removes all leading/trailing white space from a line and reduces all internal white space to a single 'space'. In SyntaxEditor, executing this command will remove all white space from the line.
For example, I applied the 'DeleteHorizontalWhiteSpace' command to the following line of code:In Visual C# 2005, the following was the result:
In SyntaxEditor, the following was the result:
In SyntaxEditor, you can see that the token 'const' and 'NAME' are now merged as a single token.
For example, I applied the 'DeleteHorizontalWhiteSpace' command to the following line of code:
const NAME = "VALUE"; //Comment
const NAME = "VALUE"; //Comment
constNAME="VALUE";//Comment