Added translatable messages to more commands
This commit is contained in:
parent
c9c577c912
commit
2a926ea39f
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'read Bookmark ' + self.ID
|
return _('read Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
# set marks
|
# set marks
|
||||||
@ -40,7 +40,7 @@ class command():
|
|||||||
x, y, marked = \
|
x, y, marked = \
|
||||||
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText'])
|
||||||
if marked.isspace():
|
if marked.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(marked, interrupt=True)
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'flush the braille device if an message is written on'
|
return _('flush the braille device if a message is written on')
|
||||||
def run(self):
|
def run(self):
|
||||||
self.env['runtime']['outputManager'].clearFlushTime()
|
self.env['runtime']['outputManager'].clearFlushTime()
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
|
@ -14,7 +14,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'Move braille view to the left.'
|
return _('Move braille view to the left.')
|
||||||
def run(self):
|
def run(self):
|
||||||
panned = self.env['runtime']['outputManager'].setPanLeft()
|
panned = self.env['runtime']['outputManager'].setPanLeft()
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
|
@ -14,7 +14,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'Move braille view to the right.'
|
return _('Move braille view to the right.')
|
||||||
def run(self):
|
def run(self):
|
||||||
panned = self.env['runtime']['outputManager'].setPanRight()
|
panned = self.env['runtime']['outputManager'].setPanRight()
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
|
@ -14,7 +14,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'Set the braille view back to cursor.'
|
return _('Set the braille view back to cursor.')
|
||||||
def run(self):
|
def run(self):
|
||||||
self.env['runtime']['outputManager'].removePanning()
|
self.env['runtime']['outputManager'].removePanning()
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'remove Bookmark ' + self.ID
|
return _('remove Bookmark {0}').format(self.ID,)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
|
|
||||||
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
del self.env['commandBuffer']['bookMarks'][self.ID][currApp]
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,12 +14,12 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'clears the currently selected clipboard'
|
return _('clears the currently selected clipboard')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.env['commandBuffer']['currClipboard'] = -1
|
self.env['commandBuffer']['currClipboard'] = -1
|
||||||
del self.env['commandBuffer']['clipboard'][:]
|
del self.env['commandBuffer']['clipboard'][:]
|
||||||
self.env['runtime']['outputManager'].presentText('clipboard cleared', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('clipboard cleared'), interrupt=True)
|
||||||
return
|
return
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -14,14 +14,14 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'Turn off window mode for application'
|
return _('Turn off window mode for application')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if self.env['runtime']['cursorManager'].clearWindowForApplication():
|
if self.env['runtime']['cursorManager'].clearWindowForApplication():
|
||||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||||
self.env['runtime']['outputManager'].presentText('Window Mode off for application ' + currApp, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('Window Mode off for application {0}').format(currApp,), interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText("Not in window Mode", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("Not in window Mode"), interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
@ -15,11 +15,11 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'copies marked text to the currently selected clipboard'
|
return _('copies marked text to the currently selected clipboard')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if not self.env['commandBuffer']['Marks']['1']:
|
if not self.env['commandBuffer']['Marks']['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("one or two marks needed", interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("one or two marks needed"), interrupt=True)
|
||||||
return
|
return
|
||||||
if not self.env['commandBuffer']['Marks']['2']:
|
if not self.env['commandBuffer']['Marks']['2']:
|
||||||
self.env['runtime']['cursorManager'].setMark()
|
self.env['runtime']['cursorManager'].setMark()
|
||||||
|
@ -14,11 +14,11 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'speaks the contents of the currently selected clipboard'
|
return _('speaks the contents of the currently selected clipboard')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if len(self.env['commandBuffer']['clipboard']) == 0:
|
if len(self.env['commandBuffer']['clipboard']) == 0:
|
||||||
self.env['runtime']['outputManager'].presentText('clipboard empty', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_('clipboard empty'), interrupt=True)
|
||||||
return
|
return
|
||||||
self.env['runtime']['outputManager'].presentText(self.env['commandBuffer']['clipboard'][self.env['commandBuffer']['currClipboard']], interrupt=True)
|
self.env['runtime']['outputManager'].presentText(self.env['commandBuffer']['clipboard'][self.env['commandBuffer']['currClipboard']], interrupt=True)
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'reads the contents of the current screen'
|
return _('reads the contents of the current screen')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if self.env['screenData']['newContentText'].isspace():
|
if self.env['screenData']['newContentText'].isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("screen is empty", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("screen is empty"), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newContentText'],interrupt=True)
|
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newContentText'],interrupt=True)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'reads from the cursor to the bottom of the screen'
|
return _('reads from the cursor to the bottom of the screen')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# Prefer review cursor over text cursor
|
# Prefer review cursor over text cursor
|
||||||
@ -24,7 +24,7 @@ class command():
|
|||||||
textAfterCursor = mark_utils.getTextAfterMark(cursorPos, self.env['screenData']['newContentText'])
|
textAfterCursor = mark_utils.getTextAfterMark(cursorPos, self.env['screenData']['newContentText'])
|
||||||
|
|
||||||
if textAfterCursor.isspace():
|
if textAfterCursor.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(textAfterCursor, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(textAfterCursor, interrupt=True)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'Reads from the top of the screen to the cursor position'
|
return _('Reads from the top of the screen to the cursor position')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# Prefer review cursor over text cursor
|
# Prefer review cursor over text cursor
|
||||||
@ -27,7 +27,7 @@ class command():
|
|||||||
textBeforeCursor = mark_utils.getTextBeforeMark(cursorPos, self.env['screenData']['newContentText'])
|
textBeforeCursor = mark_utils.getTextBeforeMark(cursorPos, self.env['screenData']['newContentText'])
|
||||||
|
|
||||||
if textBeforeCursor.isspace():
|
if textBeforeCursor.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True)
|
self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(textBeforeCursor, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(textBeforeCursor, 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 column number for review cursor in review mode or the text cursor if not. Starts with 1'
|
return _('presents the current column number for review cursor in review mode or the text cursor if not. Starts with 1')
|
||||||
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 _('presents the current line number for review cursor in review mode or the text cursor if not. Starts with 1')
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user