* ./stratus1:

- Change: In st_model, separate View() in two methods, one that load the
        model into the editor (still named View()) and a Breakpoint() method
        for putting true stop points. The Breakpoint() method calls the
        View() method. Will simplificate my explanations to the students...
This commit is contained in:
Jean-Paul Chaput 2010-12-15 15:25:45 +00:00
parent 37d2483443
commit 0e09dee142
1 changed files with 5 additions and 1 deletions

View File

@ -455,7 +455,7 @@ class Model :
self._vbe = True
##### View : in order to see the in the editor #####
def View ( self, stopLevel=1, message="Status stop point" ) :
def View ( self ) :
global EDITOR
if not self._hur_cell :
@ -465,6 +465,10 @@ class Model :
if EDITOR:
EDITOR.setCell ( self._hur_cell )
EDITOR.fit ()
##### Breakpoint : stop point with a level. Also load in the Viewer #####
def Breakpoint ( self, stopLevel=1, message="Status stop point" ) :
self.View ()
Breakpoint.stop ( stopLevel, message )
##### Save : in order to create the output files #####