##// END OF EJS Templates
Fix complete checking with space after backslash
Thomas Kluyver -
Show More
@@ -456,7 +456,7 b' class TransformerManager:'
456 if not cell.endswith('\n'):
456 if not cell.endswith('\n'):
457 cell += '\n' # Ensure every line has a newline
457 cell += '\n' # Ensure every line has a newline
458 lines = cell.splitlines(keepends=True)
458 lines = cell.splitlines(keepends=True)
459 if cell.rstrip().endswith('\\'):
459 if lines[-1][:-1].endswith('\\'):
460 # Explicit backslash continuation
460 # Explicit backslash continuation
461 return 'incomplete', find_last_indent(lines)
461 return 'incomplete', find_last_indent(lines)
462
462
General Comments 0
You need to be logged in to leave comments. Login now