Added some descriiptions for learn mode.
This commit is contained in:
parent
5d136a0b4a
commit
dce8ef181c
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'presents the current character.'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'phonetically presents the current character'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
if (environment['screenData']['newCursorReview'] != None):
|
if (environment['screenData']['newCursorReview'] != None):
|
||||||
cursorPos = environment['screenData']['newCursorReview'].copy()
|
cursorPos = environment['screenData']['newCursorReview'].copy()
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'current line'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'current word.'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -10,7 +10,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'phonetically spells the current word'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
if (environment['screenData']['newCursorReview'] != None):
|
if (environment['screenData']['newCursorReview'] != None):
|
||||||
cursorPos = environment['screenData']['newCursorReview'].copy()
|
cursorPos = environment['screenData']['newCursorReview'].copy()
|
||||||
|
@ -10,7 +10,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'presents the date'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
dateFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'dateFormat')
|
dateFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'dateFormat')
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review to the next character and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review to the next line and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review to the next word and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review to the previous character and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review to the previous line and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'moves review focus to the previous word and presents it'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
|
||||||
if environment['screenData']['newCursorReview'] == None:
|
if environment['screenData']['newCursorReview'] == None:
|
||||||
|
@ -8,7 +8,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'move review to bottom of screen'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines']}
|
environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines']}
|
||||||
environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True)
|
environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True)
|
||||||
|
@ -9,7 +9,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'move review to top of screen'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
environment['screenData']['newCursorReview'] = {'x':0,'y':0}
|
environment['screenData']['newCursorReview'] = {'x':0,'y':0}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ class command():
|
|||||||
def shutdown(self, environment):
|
def shutdown(self, environment):
|
||||||
return environment
|
return environment
|
||||||
def getDescription(self):
|
def getDescription(self):
|
||||||
return 'No Description found'
|
return 'presents the time'
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
timeFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'timeFormat')
|
timeFormat = environment['runtime']['settingsManager'].getSetting(environment,'general', 'timeFormat')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user