CaMykS  1.0-20231201
Public Member Functions | Private Attributes | List of all members
SyntaxColoringEngine_css Class Reference

Public Member Functions

 execute ($text, $params)
 

Private Attributes

 $styles
 Define styles for syntax colouring. More...
 

Detailed Description

SyntaxColoringEngine_css class.

Member Function Documentation

◆ execute()

SyntaxColoringEngine_css::execute (   $text,
  $params 
)

Execute colorisation.

Parameters
string$text
array$params
Returns
string

Member Data Documentation

◆ $styles

SyntaxColoringEngine_css::$styles
private
Initial value:
= array(
'comments' => 'color:#CC3333',
'string' => 'color:#888888',
'indent' => 'padding-left:8px',
'objects' => 'color:#258123; font-weight:bold;',
'classes' => 'color:#258123;',
'pseudos' => 'color:#da560f;',
'properties' => 'color:#000088;',
'values' => 'color:#666666;',
'at-rules' => 'color:#000088; font-weight:bold;',
)

Define styles for syntax colouring.

var array $styles


The documentation for this class was generated from the following file: