extensions.st
changeset 18047 bbb55b1c4634
parent 18044 c9957a145a7b
child 18064 67fe6351156c
equal deleted inserted replaced
18046:fd21c26b4fc9 18047:bbb55b1c4634
    10     "Modified (format): / 04-10-2011 / 19:47:20 / cg"
    10     "Modified (format): / 04-10-2011 / 19:47:20 / cg"
    11 ! !
    11 ! !
    12 
    12 
    13 !AbstractSyntaxHighlighter class methodsFor:'api highlighting'!
    13 !AbstractSyntaxHighlighter class methodsFor:'api highlighting'!
    14 
    14 
       
    15 formatFileContents:aString elementsInto:elementsCollection
       
    16     "format (recolor) a file's contents.
       
    17      Return the text containing font changes and color information.
       
    18      Here, nothing is done ,just for protocol completeness"
       
    19 
       
    20     ^ aString
       
    21 
       
    22     "Created: / 21-10-2017 / 13:28:35 / cg"
       
    23 ! !
       
    24 
       
    25 !AbstractSyntaxHighlighter class methodsFor:'api highlighting'!
       
    26 
    15 formatMethod:aString in:aClass using:preferencesOrNil elementsInto: elements
    27 formatMethod:aString in:aClass using:preferencesOrNil elementsInto: elements
    16 
    28     <resource: #obsolete>
    17     ^self formatMethod:aString in:aClass using:preferencesOrNil
    29     self obsoleteMethodWarning.
       
    30     ^ self formatMethodSource:aString in:aClass using:preferencesOrNil
    18 
    31 
    19     "Created: / 25-07-2010 / 08:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    32     "Created: / 25-07-2010 / 08:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    33 ! !
       
    34 
       
    35 !AbstractSyntaxHighlighter class methodsFor:'api highlighting'!
       
    36 
       
    37 formatMethod:aMethodOrNil source:aString in:aClass using:preferencesOrNil elementsInto: elements
       
    38 
       
    39     ^ self formatMethod:aMethodOrNil source:aString in:aClass using:preferencesOrNil
       
    40 
       
    41     "Created: / 05-07-2011 / 10:41:14 / cg"
       
    42     "Modified: / 20-07-2011 / 16:29:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    20 ! !
    43 ! !
    21 
    44 
    22 !AbstractTime class methodsFor:'misc ui support'!
    45 !AbstractTime class methodsFor:'misc ui support'!
    23 
    46 
    24 iconInBrowserSymbol
    47 iconInBrowserSymbol