Skip to content

Instantly share code, notes, and snippets.

@biswarupadhikari
Created August 12, 2013 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biswarupadhikari/6210615 to your computer and use it in GitHub Desktop.
Save biswarupadhikari/6210615 to your computer and use it in GitHub Desktop.
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