equal
deleted
inserted
replaced
109 ] ifFalse:[ |
109 ] ifFalse:[ |
110 class := codeView classHolder value. |
110 class := codeView classHolder value. |
111 (class notNil and:[app respondsTo: #syntaxHighlighterForClass:]) ifTrue:[ |
111 (class notNil and:[app respondsTo: #syntaxHighlighterForClass:]) ifTrue:[ |
112 highlighter := app syntaxHighlighterForClass: class. |
112 highlighter := app syntaxHighlighterForClass: class. |
113 ] ifFalse:[ |
113 ] ifFalse:[ |
114 (class notNil and:[app respondsTo: #syntaxHighlighter]) ifTrue:[ |
114 (app respondsTo: #syntaxHighlighter) ifTrue:[ |
115 highlighter := app syntaxHighlighter. |
115 highlighter := app syntaxHighlighter. |
116 ]. |
116 ]. |
117 ]. |
117 ]. |
118 ] |
118 ] |
119 ]. |
119 ]. |
129 ]. |
129 ]. |
130 ^ highlighter |
130 ^ highlighter |
131 |
131 |
132 "Created: / 05-08-2011 / 10:48:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
132 "Created: / 05-08-2011 / 10:48:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
133 "Modified: / 22-07-2013 / 13:33:46 / cg" |
133 "Modified: / 22-07-2013 / 13:33:46 / cg" |
134 "Modified: / 10-06-2014 / 17:51:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
134 "Modified: / 10-06-2014 / 17:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
135 ! |
135 ! |
136 |
136 |
137 syntaxHighlighters |
137 syntaxHighlighters |
138 |
138 |
139 | highlighters highlighter | |
139 | highlighters highlighter | |
382 ! ! |
382 ! ! |
383 |
383 |
384 !CodeHighlightingService class methodsFor:'documentation'! |
384 !CodeHighlightingService class methodsFor:'documentation'! |
385 |
385 |
386 version |
386 version |
387 ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.48 2014-06-10 16:51:53 vrany Exp $' |
387 ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.49 2014-06-10 17:00:16 vrany Exp $' |
388 ! |
388 ! |
389 |
389 |
390 version_CVS |
390 version_CVS |
391 ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.48 2014-06-10 16:51:53 vrany Exp $' |
391 ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.49 2014-06-10 17:00:16 vrany Exp $' |
392 ! |
392 ! |
393 |
393 |
394 version_SVN |
394 version_SVN |
395 ^ '$Id: Tools__CodeHighlightingService.st,v 1.48 2014-06-10 16:51:53 vrany Exp $' |
395 ^ '$Id: Tools__CodeHighlightingService.st,v 1.49 2014-06-10 17:00:16 vrany Exp $' |
396 ! ! |
396 ! ! |
397 |
397 |