Change text for cursor column review.
This commit is contained in:
		@@ -14,7 +14,7 @@ class command():
 | 
				
			|||||||
    def shutdown(self):
 | 
					    def shutdown(self):
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
    def getDescription(self):
 | 
					    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):
 | 
					    def run(self):
 | 
				
			||||||
        cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
 | 
					        cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
 | 
				
			||||||
        self.env['runtime']['outputManager'].presentText(str(cursorPos['x'] + 1) , interrupt=True)
 | 
					        self.env['runtime']['outputManager'].presentText(str(cursorPos['x'] + 1) , interrupt=True)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@ class command():
 | 
				
			|||||||
    def shutdown(self):
 | 
					    def shutdown(self):
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
    def getDescription(self):
 | 
					    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):
 | 
					    def run(self):
 | 
				
			||||||
        cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
 | 
					        cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
 | 
				
			||||||
        self.env['runtime']['outputManager'].presentText(str(cursorPos['y'] + 1), interrupt=True)
 | 
					        self.env['runtime']['outputManager'].presentText(str(cursorPos['y'] + 1), interrupt=True)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user