Update remove_marks.py

This commit is contained in:
chrys87 2016-09-23 12:54:39 +02:00 committed by GitHub
parent fa0da3317d
commit ab6c8c76b2

View File

@ -17,8 +17,7 @@ class command():
return 'removes marks from selected text' return 'removes marks from selected text'
def run(self): def run(self):
self.env['commandBuffer']['Marks']['1'] = None self.env['runtime']['cursorManager'].clearMarks()
self.env['commandBuffer']['Marks']['2'] = None
self.env['runtime']['outputManager'].presentText('Remove marks', interrupt=True) self.env['runtime']['outputManager'].presentText('Remove marks', interrupt=True)
def setCallback(self, callback): def setCallback(self, callback):