Tools__BackgroundSourceProcessingService.st
changeset 17717 13cd6ef0aeb8
parent 17356 c3f338f412b9
child 18363 89b39d823747
equal deleted inserted replaced
17716:406658241c77 17717:13cd6ef0aeb8
   183     "(Re)starts the processing job. Should be called whenever a source 
   183     "(Re)starts the processing job. Should be called whenever a source 
   184      must be (re)processed."
   184      must be (re)processed."
   185 
   185 
   186     | prio browser |
   186     | prio browser |
   187 
   187 
   188     "/ this clobbers the codeViews modified state; therefore, we have to remember
   188     "/ this clobbers the codeView's modified state; 
   189     "/ this info somewhere ...
   189     "/ therefore, we have to remember this info somewhere ...
   190     (browser := codeView browser) notNil ifTrue:[
   190     (browser := codeView browser) notNil ifTrue:[
   191         textView modified ifTrue:[
   191         textView modified ifTrue:[
   192             browser navigationState realModifiedState: true
   192             browser navigationState realModifiedState: true
   193         ].
   193         ].
   194         textView modifiedChannel setValue:false.
   194         textView modifiedChannel setValue:false.
   205     job startWithPriority: prio.
   205     job startWithPriority: prio.
   206 
   206 
   207     "Modified: / 07-07-2011 / 12:26:12 / Jan Vrany <jan.vrant@fit.cvut,cz>"
   207     "Modified: / 07-07-2011 / 12:26:12 / Jan Vrany <jan.vrant@fit.cvut,cz>"
   208     "Created: / 24-01-2012 / 12:15:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   208     "Created: / 24-01-2012 / 12:15:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   209     "Modified: / 05-06-2012 / 23:58:20 / cg"
   209     "Modified: / 05-06-2012 / 23:58:20 / cg"
       
   210     "Modified (format): / 21-10-2017 / 13:12:54 / cg"
   210 !
   211 !
   211 
   212 
   212 process: delayed
   213 process: delayed
   213     "Actually process source code. If `delayed` is true, view should be updated
   214     "Actually process source code. If `delayed` is true, view should be updated
   214      asynchronously using #pushUserEvent:. Individual services should override
   215      asynchronously using #pushUserEvent:. Individual services should override
   215      this method.
   216      this method.
   216 
   217 
   217      NOTE: Do not call this method from custom code directly, always call
   218      NOTE: Do not call this method from custom code directly, always call
   218      #processSafely: which handle possible errors and protect against
   219      #processSafely: which handles possible errors and protects against 'debugger bomb'"
   219      'debugger bomb'
       
   220      "
       
   221 
   220 
   222     self subclassResponsibility
   221     self subclassResponsibility
   223 
   222 
   224     "Created: / 24-01-2012 / 12:25:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   223     "Created: / 24-01-2012 / 12:25:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   225     "Modified (comment): / 25-02-2014 / 19:52:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   224     "Modified (comment): / 25-02-2014 / 19:52:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   225     "Modified (comment): / 21-10-2017 / 13:17:48 / cg"
   226 !
   226 !
   227 
   227 
   228 processSafely: delayed
   228 processSafely: delayed
   229     "Process source code. If `delayed` is true, view should be updated
   229     "Process source code. If `delayed` is true, view should be updated
   230      asynchronously using #pushUserEvent:"
   230      asynchronously using #pushUserEvent:"