88 """ |
88 """ |
89 if cmd == QsciScintilla.SCI_DELETEBACK: |
89 if cmd == QsciScintilla.SCI_DELETEBACK: |
90 line, index = self.getCursorPosition() |
90 line, index = self.getCursorPosition() |
91 text = self.text(line)[index - 1:index + 1] |
91 text = self.text(line)[index - 1:index + 1] |
92 matchingPairs = ['()', '[]', '{}', '<>', "''", '""'] |
92 matchingPairs = ['()', '[]', '{}', '<>', "''", '""'] |
|
93 # __IGNORE_WARNING_M613__ |
93 if text in matchingPairs: |
94 if text in matchingPairs: |
94 self.delete() |
95 self.delete() |
95 |
96 |
96 super(MiniScintilla, self).editorCommand(cmd) |
97 super(MiniScintilla, self).editorCommand(cmd) |
97 |
98 |