![Avatar](https://secure.gravatar.com/avatar/3290b4feeb5151133d5487273f3a5010.jpg?s=64&d=identicon&r=g)
Hello Actipro,
I am looking at slightly customizing the default CSharpTextFormatter that comes default with the Syntax editor to apply different formatting to return statements. Currently, it puts a space after "return" keyword in a void method like this:
namespace SyntaxEditorDemo {
public class Program {
public static void Main(string[] args) {
return ;
}
}
}
But we want to just have "return;" without the space. I saw in the sample project Getting Started 13 that you can register a custom text formatter, and I also saw that the CSharpTextFormatter has an override method, but I am not seeing a way to cleanly implement this small customization with either of these methods. Would I need to clone the CSharpTextFormatter source code? (And if so, where would it be?)
Thanks!
-William