Skip to content

Instantly share code, notes, and snippets.

Created August 12, 2013 13:01
What would you like to do?
Sublime Text :: Inser Or Replace Content
import sublime, sublime_plugin
class ExampleCommand(sublime_plugin.TextCommand):
def run(self, edit):
for region in self.view.sel():
self.view.replace(edit, region,"Test")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment