(self,edit)
| 121 | |
| 122 | class SelectDomainRootAllCommand(sublime_plugin.TextCommand): |
| 123 | def remove(self,edit): |
| 124 | exts = ['.html','.login','.action','.htm','.shtml','.asp','.aspx','.jsp','.jspx'] |
| 125 | text = get_buffer_text(self.view) |
| 126 | _text = text |
| 127 | for ext in exts: |
| 128 | _text = _text.lower().replace(ext,'#####') |
| 129 | update_file(self.view, edit, _text) |
| 130 | |
| 131 | return text |
| 132 | |
| 133 | def run(self, edit, cmd): |
| 134 | text = self.remove(edit) |
no test coverage detected