What steps will reproduce the problem? In an empty SyntaxBox, type: using System; namespace { }
What is the expected output? What do you see instead? We would expect the output to appear as above, with the caret after the closing curly brace. Instead, namespace and curly braces are indented (by a tab and a space), and the caret is at the start of the last row. If the caret is then placed after the closing curly brace and the user types Enter, the closing curly brace is moved down a line and indented by another tab and space. The caret is placed before the last space (so the final line is "\t\t | }" where | denotes the caret)
There is no way to add a new line after the closing brace.
What version of the product are you using? On what operating system? I am using the most recent code (as of 3/18/09, on Windows XP.
Please provide any additional information below.
I'll see if I can figure out a fix, but if you or anyone else has one finished, I'd appreciate it.
Comment #1
Posted on Dec 19, 2009 by Happy CamelTested this one with the last version. No issues here. May have been corrected.
Status: New
Labels:
Type-Defect
Priority-Medium