davidvarga / davidvarga/MBeautifier
formatEditorSelection indents regions outside selected
Open
- Dominant language
- MATLAB
- Stars
- 519
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
When using `MBeautify.formatEditorSelection()`, after formatting the selected text, [MBeautify.m#L227](https://github.com/davidvarga/MBeautifier/blob/1a57849e44662f56271dc0eefa746855698a719a/MBeautify.m#L227) then indents the entire editor page, rather than just the selection. I.e. the following code is called:
```
MBeautify.indentPage(currentEditorPage, configuration);
```
It would seem more appropriate to indent only the selected region.
Contributor guide
Assessment
This issue has not been assessed yet.