(self, output, title=False, position=None, **kwargs)
| 264 | output_file.run_command('edit_view', dict(command='insert', output=output)) |
| 265 | |
| 266 | def scratch(self, output, title=False, position=None, **kwargs): |
| 267 | scratch_file = self.get_window().new_file() |
| 268 | if title: |
| 269 | scratch_file.set_name(title) |
| 270 | scratch_file.set_scratch(True) |
| 271 | self._output_to_view(scratch_file, output, **kwargs) |
| 272 | scratch_file.set_read_only(True) |
| 273 | if position: |
| 274 | sublime.set_timeout(lambda: scratch_file.set_viewport_position(position), 0) |
| 275 | return scratch_file |
| 276 | |
| 277 | def panel(self, output, **kwargs): |
| 278 | if not hasattr(self, 'output_view'): |
no test coverage detected