|
Class: CodeHighlightingService (in Tools)
Object
|
+--Tools::CodeViewService
|
+--Tools::BackgroundSourceProcessingService
|
+--Tools::CodeHighlightingService
- Package:
- stx:libtool
- Category:
- Interface-CodeView
- Version:
- rev:
1.64
date: 2018/08/22 07:33:37
- user: cg
- file: Tools__CodeHighlightingService.st directory: libtool
- module: stx stc-classLibrary: libtool
accessing
-
label
-
Answers a short label - for UI
testing
-
isUsefulFor: aCodeView
-
this filters useful services.
Redefined to return true for myself - not for subclasses
accessing
-
preferences: preferences
-
must be able to set those - otherwise, it uses a different coloring scheme in
expecco
-
syntaxHighlighter
-
First, ask application...
-
syntaxHighlighters
-
cg: who sets this highlighter when adding a subclass to one of the expecco codeDescriptions?
accessing-defaults
-
defaultJobName
-
(comment from inherited method)
Returns a human-readable job name, to ease identification in process browser
private
-
clearScrollbarBackground
-
immediate change the scroller back to showing nothing;
-
process
-
(Re)starts the processing job. Should be called whenever a source
must be (re)processed.
-
process: delayed
-
codeView topView class == DebugView ifTrue:[^ self].
-
setHighlightedCode: newCode elements: elements
-
the background synhighlighter has generated new colored text,
with highlighted syntax.
If there have been no modifications in the meantime, install it.
usage example(s):
an user event for #setHighlightedCode:elements: is already in
|
|