Added some descriiptions for learn mode.

This commit is contained in:
Storm Dragon 2016-09-15 08:09:48 -04:00
parent 5d136a0b4a
commit dce8ef181c
15 changed files with 15 additions and 15 deletions

View File

@ -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:

View File

@ -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()

View File

@ -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:

View File

@ -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:

View File

@ -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()

View File

@ -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')

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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)

View File

@ -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}

View File

@ -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')