Change text for cursor column review.

This commit is contained in:
Storm Dragon 2018-08-03 11:06:50 -04:00
parent 71a46ab614
commit bf03f51052
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self):
pass
def getDescription(self):
return _('presents the current column number for review cursor in review mode or the text cursor if not. Starts with 1')
return _('Column number for cursor')
def run(self):
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
self.env['runtime']['outputManager'].presentText(str(cursorPos['x'] + 1) , interrupt=True)

View File

@ -14,7 +14,7 @@ class command():
def shutdown(self):
pass
def getDescription(self):
return _('presents the current line number for review cursor in review mode or the text cursor if not. Starts with 1')
return _('Line number for cursor')
def run(self):
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
self.env['runtime']['outputManager'].presentText(str(cursorPos['y'] + 1), interrupt=True)