Open pierslawrence opened 3 years ago
When using MBeautify.formatEditorSelection(), after formatting the selected text, MBeautify.m#L227 then indents the entire editor page, rather than just the selection. I.e. the following code is called:
MBeautify.formatEditorSelection()
MBeautify.indentPage(currentEditorPage, configuration);
It would seem more appropriate to indent only the selected region.
When using
MBeautify.formatEditorSelection()
, after formatting the selected text, MBeautify.m#L227 then indents the entire editor page, rather than just the selection. I.e. the following code is called:It would seem more appropriate to indent only the selected region.