From ab6c8c76b236e0abc23bc37fb076db9fe3e6ec53 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 12:54:39 +0200 Subject: [PATCH] Update remove_marks.py --- src/fenrir-package/commands/commands/remove_marks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fenrir-package/commands/commands/remove_marks.py b/src/fenrir-package/commands/commands/remove_marks.py index be84d15d..a180d853 100644 --- a/src/fenrir-package/commands/commands/remove_marks.py +++ b/src/fenrir-package/commands/commands/remove_marks.py @@ -17,8 +17,7 @@ class command(): return 'removes marks from selected text' def run(self): - self.env['commandBuffer']['Marks']['1'] = None - self.env['commandBuffer']['Marks']['2'] = None + self.env['runtime']['cursorManager'].clearMarks() self.env['runtime']['outputManager'].presentText('Remove marks', interrupt=True) def setCallback(self, callback):