@techee
OK, I'll try to prepare something myself (once I have more time).
No rush: I've already proposed a fix for the EOL splitting: ScintillaOrg/lexilla#83 Best to wait for whatever Lexilla release gets the patch. 5.1.7 is [already in the hopper][0], so a successor version is more likely.
[0]: https://github.com/ScintillaOrg/lexilla/commit/342e86ebed1918d5a7a600b02bb9a...