Improve block indentation behavior for C# #119
No reviewers
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit!119
Loading…
Reference in a new issue
No description provided.
Delete branch "indentation_fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.
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