I was puzzled that suddenly UniversalIndentGUI (in Notepad++) started throwing blank lines in all over the place. It turned out that I had some sort of a mixup with my curly braces (I'd fixed it before I realised I needed the details for this message).
My suggestion is that if the ( { [ characters aren't properly paired off with ) } ], it might be best to display a message and not alter the source text.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was puzzled that suddenly UniversalIndentGUI (in Notepad++) started throwing blank lines in all over the place. It turned out that I had some sort of a mixup with my curly braces (I'd fixed it before I realised I needed the details for this message).
My suggestion is that if the ( { [ characters aren't properly paired off with ) } ], it might be best to display a message and not alter the source text.