|
Class: CodeCoverageHighlighter
Object
|
+--Scanner
|
+--Parser
|
+--AbstractSyntaxHighlighter
|
+--CodeCoverageHighlighter
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Version:
- rev:
1.11
date: 2024/04/09 12:16:56
- user: stefan
- file: CodeCoverageHighlighter.st directory: libcomp
- module: stx stc-classLibrary: libcomp
colors a method according to some methodInvocationInfo.
copyrightCOPYRIGHT (c) 2010 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
-
(comment from inherited method)
intentionally left empty
-
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).
|