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