Closed ultraq closed 2 years ago
Worked on what I could, but wow whitespace handling is a little annoying when you have to do it yourself! As for the other stuff, it's also kind of in the difficult basket no wonder it's been kinda ad-hoc all these years! 😅
Some things to try for the next release, no guarantee I'll get around to them but it'll be neat to help clean up the codebase while I'm working on it:
ChildModelIterator
into a general purpose model iterator. In conjunction with the above, that can replace the need for a specific child model iterator.~insertModelWithWhitespace
extension method could do with some work - it inserts Windows line ends instead of platform-specific ones, and its oppositeremoveModel
doesn't have a "with whitespace" version which could clear up some formatting issues in the resulting output