Update marked_text.py

This commit is contained in:
chrys87 2016-08-24 16:18:08 +02:00 committed by GitHub
parent aa8f4d563e
commit d2a55e2f65

View File

@ -7,7 +7,7 @@ class command():
def run(self, environment): def run(self, environment):
if (environment['commandBuffer']['Marks']['1'] == None) or \ if (environment['commandBuffer']['Marks']['1'] == None) or \
(environment['commandBuffer']['Marks']['2'] == None): (environment['commandBuffer']['Marks']['2'] == None):
environment['runtime']['outputManager'].presentText(environment, "two marks needed", interrupt=True) environment['runtime']['outputManager'].presentText(environment, "set a begin and a endmark", interrupt=True)
return environment return environment
# use the last first and the last setted mark as range # use the last first and the last setted mark as range