add initial (buggy :/ ) prev,curr,next word commands

This commit is contained in:
chrys
2016-07-19 01:19:21 +02:00
parent bf5cd96a18
commit 513d4a4ddf
9 changed files with 167 additions and 21 deletions

View File

@ -7,7 +7,7 @@ class command():
if environment['screenData']['newCursor']['y'] != environment['screenData']['oldCursor']['y'] or\
environment['screenData']['newCursor']['x'] == environment['screenData']['oldCursor']['x']:
return environment
if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']][environment['screenData']['newCursor']['x']].strip(" \n\t") == '':
if environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']][environment['screenData']['newCursor']['x']].strip(" \t\n") == '':
pass
#environment['runtime']['outputManager'].presentText(environment, "blank",True)
else: