As we've been completing our transition from the WinForms editor to the WPF Syntax Editor, we're seeing what we consider a regression in indent behavior.
If you open the actipro sample browser, go to the syntax editor area, and select the XML editor (web lang. add-on) sample, you'll naturally see xml in the syntax editor. Within the hair xml element, let's say I type <colors>. The editor will correctly add an end colors tag, so I get <colors></colors>, with my cursor in between the two elements. Now, if I press Enter on my keyboard, I expect a newline to be added between the elements with my cursor indented, like so:However, all I get is:
Is there a way to get the newline and indent behavior, like we used to get with the WinForms editor?
Thanks,
-Craig
If you open the actipro sample browser, go to the syntax editor area, and select the XML editor (web lang. add-on) sample, you'll naturally see xml in the syntax editor. Within the hair xml element, let's say I type <colors>. The editor will correctly add an end colors tag, so I get <colors></colors>, with my cursor in between the two elements. Now, if I press Enter on my keyboard, I expect a newline to be added between the elements with my cursor indented, like so:
<hair>
<colors>
<- cursor should be there
</colors>
</hair>
<hair>
<colors>
</colors>
</hair>
Thanks,
-Craig