|
Class: CodeCoverageHighlighter
Object
|
+--Scanner
|
+--Parser
|
+--AbstractSyntaxHighlighter
|
+--CodeCoverageHighlighter
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Version:
- rev:
1.7
date: 2015/02/28 00:54:47
- user: cg
- file: CodeCoverageHighlighter.st directory: libcomp
- module: stx stc-classLibrary: libcomp
colors a method according to some methodInvocationInfo.
accessing
-
colorForCoveredCode
-
-
colorForUncoveredCode
-
-
method: aMethod
-
(comment from inherited method)
the original method, if known (for subclasses which can make use of it)
-
methodInvocationInfo: something
-
-
sourceText: aString
-
(comment from inherited method)
this text will be updated by the highlighting process
-
updateMethodInvocationInfo
-
syntax detection
-
markArgumentIdentifierFrom: pos1 to: pos2
-
intentionally left empty
-
markBlockFrom: pos1 to: pos2
-
methodInvocationInfo notNil ifTrue:[
-
markBracketAt: pos
-
-
markCommentFrom: pos1 to: pos2
-
preferences commentColor
-
markMethodArgumentIdentifierFrom: pos1 to: pos2
-
-
markMethodSelectorFrom: pos1 to: pos2
-
methodInvocationInfo notNil ifTrue:[
-
markUnknownIdentifierFrom: pos1 to: pos2
-
(comment from inherited method)
intentionally left empty
-
parseMethod
-
sourceText emphasizeFrom:1 to:sourceText size with:(#backgroundColor "#color" -> clr lightened lightened).
|