123 # new line |
123 # new line |
124 # indent after line ending with ':' |
124 # indent after line ending with ':' |
125 elif char == "\n" and self.__autoIndentation: |
125 elif char == "\n" and self.__autoIndentation: |
126 txt = self.editor.text(line - 1) |
126 txt = self.editor.text(line - 1) |
127 match = re.search( |
127 match = re.search( |
128 "(?:\||\|-|\|\+|>|>-|>\+|-|:)(\s*)\r?\n", |
128 r"(?:\||\|-|\|\+|>|>-|>\+|-|:)(\s*)\r?\n", |
129 # __IGNORE_WARNING_W605__ |
129 # __IGNORE_WARNING_W605__ |
130 txt, |
130 txt, |
131 ) |
131 ) |
132 if match is not None: |
132 if match is not None: |
133 startBlanks = match.start(1) |
133 startBlanks = match.start(1) |