Changed empty line to blank. Same message, less time speaking.
This commit is contained in:
parent
615a75733c
commit
232014fd7a
@ -9,7 +9,7 @@ class command():
|
||||
environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy()
|
||||
|
||||
if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']].replace(" ","").replace("\n","").replace("\t","") == '':
|
||||
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
||||
environment['runtime']['outputManager'].speakText(environment, "blank")
|
||||
else:
|
||||
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
||||
return environment
|
||||
|
@ -11,7 +11,7 @@ class command():
|
||||
environment['screenData']['newCursorReview']['y'] = environment['screenData']['newCursorReview']['y'] + 1
|
||||
|
||||
if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']].replace(" ","").replace("\n","").replace("\t","") == '':
|
||||
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
||||
environment['runtime']['outputManager'].speakText(environment, "blank")
|
||||
else:
|
||||
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
||||
return environment
|
||||
|
@ -10,7 +10,7 @@ class command():
|
||||
if environment['screenData']['newCursorReview']['y'] - 1 >= 0:
|
||||
environment['screenData']['newCursorReview']['y'] = environment['screenData']['newCursorReview']['y'] - 1
|
||||
if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']].replace(" ","").replace("\n","").replace("\t","") == '':
|
||||
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
||||
environment['runtime']['outputManager'].speakText(environment, "blank")
|
||||
else:
|
||||
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
||||
return environment
|
||||
|
Loading…
Reference in New Issue
Block a user