Tools__BackgroundSourceProcessingService.st
changeset 14846 5fab48017422
parent 14704 5de671ef2e61
child 14973 5972c23eeb9a
equal deleted inserted replaced
14845:7c4a218df889 14846:5fab48017422
   156 linesModifiedFrom:start to:end 
   156 linesModifiedFrom:start to:end 
   157     self sourceChanged:true
   157     self sourceChanged:true
   158 
   158 
   159     "Created: / 06-07-2011 / 17:14:36 / jv"
   159     "Created: / 06-07-2011 / 17:14:36 / jv"
   160     "Created: / 16-09-2011 / 15:15:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   160     "Created: / 16-09-2011 / 15:15:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   161 ! !
       
   162 
       
   163 !BackgroundSourceProcessingService methodsFor:'help'!
       
   164 
       
   165 flyByHelpTextAtLine:aLineNr
       
   166     |a html rule|
       
   167 
       
   168     a := self annotationAtLine:aLineNr.
       
   169     a notNil ifTrue:[
       
   170         (rule := a rule) notNil ifTrue:[
       
   171             ^ 'Lint says: ',rule name.
       
   172 "/            html := String streamContents:[:s|
       
   173 "/                        s 
       
   174 "/                            nextPutAll: '<html>'; 
       
   175 "/                            nextPutAll: rule name; 
       
   176 "/                            nextPutAll:'<P>';  
       
   177 "/                            nextPutLine: rule rationale;
       
   178 "/                            nextPutAll: '</html>'. 
       
   179 "/                    ].
       
   180 "/            ^ html
       
   181         ]
       
   182     ].
       
   183     ^ nil
   161 ! !
   184 ! !
   162 
   185 
   163 !BackgroundSourceProcessingService methodsFor:'initialization'!
   186 !BackgroundSourceProcessingService methodsFor:'initialization'!
   164 
   187 
   165 initialize
   188 initialize
   261 ! !
   284 ! !
   262 
   285 
   263 !BackgroundSourceProcessingService class methodsFor:'documentation'!
   286 !BackgroundSourceProcessingService class methodsFor:'documentation'!
   264 
   287 
   265 version
   288 version
   266     ^ '$Header: /cvs/stx/stx/libtool/Tools__BackgroundSourceProcessingService.st,v 1.8 2014-08-08 05:58:17 vrany Exp $'
   289     ^ '$Header: /cvs/stx/stx/libtool/Tools__BackgroundSourceProcessingService.st,v 1.9 2014-11-19 17:50:02 cg Exp $'
   267 !
   290 !
   268 
   291 
   269 version_CVS
   292 version_CVS
   270     ^ '$Header: /cvs/stx/stx/libtool/Tools__BackgroundSourceProcessingService.st,v 1.8 2014-08-08 05:58:17 vrany Exp $'
   293     ^ '$Header: /cvs/stx/stx/libtool/Tools__BackgroundSourceProcessingService.st,v 1.9 2014-11-19 17:50:02 cg Exp $'
   271 ! !
   294 ! !
   272 
   295