eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::LintHighlighter':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: LintHighlighter (in Tools)


Inheritance:

   Object
   |
   +--Tools::LintHighlighter

Package:
stx:libtool
Category:
Interface-Lint
Version:
rev: 1.23 date: 2017/12/21 08:03:53
user: cg
file: Tools__LintHighlighter.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

instance creation
o  new
return an initialized instance


Instance protocol:

accessing
o  rules

o  rules: aCollectionOfRules
Modified (format): / 07-03-2012 / 17:24:02 / cg

o  rulesToIntervalsMap

o  sequenceNumber

accessing-emphasis
o  emphasisForError
with: #backgroundColor -> warnColor lightened lightened

o  emphasisForInformation
with: #backgroundColor -> warnColor lightened lightened

o  emphasisForSeverity: severity

o  emphasisForWarning
(Color redByte: 224 greenByte: 200 blueByte: 45).

formatting
o  formatClassDefinition: source in: class

o  formatClassDefinition: source in: class elementsInto: elements

o  formatExpression: source in: class

o  formatExpression: source in: class elementsInto: elements

o  formatFileContents: aString elementsInto: elementsCollection
format (recolor) a file's contents.
Return the text containing font changes and color information.
Here, nothing is done ,just for protocol completeness

o  formatMethod: mth source: source in: class using: preferences

o  formatMethod: mth source: sourceString in: class using: preferences elementsInto: elements

formatting-private
o  format: sourceString in: class

o  format: text tree: tree in: class

o  format: text tree: tree in: class rule: rule
rule result isParseTreeEnvironment

initialization
o  initialize

markup
o  mark: text from: start to: end for: rule
this underwaves the rule's complaint



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 16:02:37 GMT