Quote:
Originally Posted by KevinH
Hi Doitsu,
Would it work to put back the proper windows line endings before parsing the file?
Does this change to plugin.py work?
|
Unfortunately, it didn't, because the book that I tested it with was last saved with the Windows version of Sigil, which always saves files with
\r\n line endings. I.e., there were already \r\n line endings in the input file.
IMHO, it doesn't really matter, because the actual implementation will be in C++ and not as a validation plugin and the most important part of the code--multi-language spell checking--works as designed.