Improve block indentation behavior for C# #119

Closed
guusw wants to merge 1 commit from indentation_fixes into master
guusw commented 2017-04-11 22:09:08 -05:00 (Migrated from github.com)

This allows automatic indentation changes when someone enters a character. And in implementation for the CSharpIndentationStrategy that will reduce the indentation when a { or } character is entered

This is pretty similar to visual studio where it reduces the indentation as soon as you type { after any class/function declaration or control flow statement

This allows automatic indentation changes when someone enters a character. And in implementation for the CSharpIndentationStrategy that will reduce the indentation when a { or } character is entered This is pretty similar to visual studio where it reduces the indentation as soon as you type { after any class/function declaration or control flow statement
dgrunwald commented 2017-05-25 09:08:21 -05:00 (Migrated from github.com)

Adding a new method to an interface is a breaking change; we can't accept this into AvalonEdit 5.x.

Also, I'm not sure if yet another kind of change notification is the right way to go -- we might be able to do this more generically by hooking into one of the existing events.

Adding a new method to an interface is a breaking change; we can't accept this into AvalonEdit 5.x. Also, I'm not sure if yet another kind of change notification is the right way to go -- we might be able to do this more generically by hooking into one of the existing events.
guusw commented 2017-05-25 21:38:55 -05:00 (Migrated from github.com)

Allright, I'll check again if it can possibly be done by IndentLine(s). These are the existing events you meant, right?

Allright, I'll check again if it can possibly be done by IndentLine(s). These are the existing events you meant, right?

Pull request closed

Sign in to join this conversation.
No description provided.