--- a/PluginPrintRemover.py Sat Dec 28 19:41:07 2013 +0100 +++ b/PluginPrintRemover.py Tue Dec 31 20:56:16 2013 +0100 @@ -263,7 +263,7 @@ text = editor.text() newText = "".join([ - line for line in text.splitlines(keepends=True) + line for line in text.splitlines(True) if not line.lstrip().startswith(pattern) or "__NO_REMOVE__" in line ])