We've implemented a fairly simple Editor with your WPF SyntaxEditor control. We load an xml language into each new document so we have colorization but we currently aren't implementing any additional features such as our own lexers or parsers.
When pressing enter on a line with four leading spaces the new line's indent is converted to a tab. We would like the new line to be indented as the previous line was indented with spaces. (We would also like the new line to indent with a tab if the previous line had a tab but it already does that and we don't want to break it.)
I've reviewed the Auto Indent feature (defaults to Block) and the document's AutoConvertTabsToSpaces property in the provided documentation and here in the forums. The supplied docs state AutoConvertTabsToSpaces defaults to false but the discussions I found here in the forum state it defaults to true.
I set my document's AutoConvertTabsToSpaces property to false.
I appreciate any advice you can provide.