(self, edit, str)
| 221 | |
| 222 | class RemoveSpecificStringCommand(sublime_plugin.TextCommand): |
| 223 | def run(self, edit, str): |
| 224 | text = get_buffer_text(self.view) |
| 225 | if str == '[*]': |
| 226 | text = re.sub(r"\[.*?\]",'',text) |
| 227 | if str == '(*)': |
| 228 | text = re.sub(r"\(.*?\)",'',text) |
| 229 | if str == 'space': |
| 230 | text = text.replace(' ','') |
| 231 | update_file(self.view, edit, text) |
| 232 | |
| 233 | |
| 234 | class DeleteLinesCommand(sublime_plugin.TextCommand): |
nothing calls this directly
no test coverage detected