Update and rename set_clipboard_mark.py to set_mark.py

This commit is contained in:
chrys87 2016-08-23 17:29:39 +02:00 committed by GitHub
parent 0f90c84222
commit da882cc5f3

View File

@ -7,10 +7,10 @@ class command():
if environment['screenData']['newCursorReview'] == None: if environment['screenData']['newCursorReview'] == None:
environment['runtime']['outputManager'].presentText(environment, 'no review cursor', interrupt=True) environment['runtime']['outputManager'].presentText(environment, 'no review cursor', interrupt=True)
if environment['commandBuffer']['clipboardMark']['1'] == None: if environment['commandBuffer']['Mark']['1'] == None:
environment['commandBuffer']['clipboardMark']['1'] = environment['screenData']['newCursorReview'] environment['commandBuffer']['Mark']['1'] = environment['screenData']['newCursorReview']
else: else:
environment['commandBuffer']['clipboardMark']['2'] = environment['screenData']['newCursorReview'] environment['commandBuffer']['Mark']['2'] = environment['screenData']['newCursorReview']
environment['runtime']['outputManager'].presentText(environment, 'set mark', interrupt=True) environment['runtime']['outputManager'].presentText(environment, 'set mark', interrupt=True)
return environment return environment