Created
August 12, 2013 13:01
-
-
Save biswarupadhikari/6210615 to your computer and use it in GitHub Desktop.
Sublime Text :: Inser Or Replace Content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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