syntax coloring

This commit is contained in:
Marc Delisle
2002-07-03 15:16:03 +00:00
parent 40593910ef
commit 52002e82da
2 changed files with 3 additions and 1 deletions

View File

@@ -1243,7 +1243,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
To use this feature set this value to TRUE (the default). If not everything To use this feature set this value to TRUE (the default). If not everything
you want is colored or to influence where a newline is inserted see the you want is colored or to influence where a newline is inserted see the
Configurationarrays $cfg['keywords'] and $cfg['additional']. Note: Configurationarrays $cfg['keywords'] and $cfg['additional']. Note:
for version 2.3.0-rc1, syntax coloring is non functional. for version 2.3.0, syntax coloring is non functional.
</dd> </dd>
<dt><b>$cfg['colorFunctions'] </b>string [HTML color]</dt> <dt><b>$cfg['colorFunctions'] </b>string [HTML color]</dt>
<dd> <dd>

View File

@@ -263,6 +263,8 @@ $cfg['ModifyDeleteAtRight'] = FALSE; // show edit/delete links on right s
$cfg['DefaultDisplay'] = 'horizontal'; // default display direction (horizontal|vertical) $cfg['DefaultDisplay'] = 'horizontal'; // default display direction (horizontal|vertical)
$cfg['RepeatCells'] = 100; // repeat header names every X cells? (0 = deactivate) $cfg['RepeatCells'] = 100; // repeat header names every X cells? (0 = deactivate)
// Note: this feature will be
// implemented after 2.3.0
$cfg['UseSyntaxColoring'] = TRUE; // use syntaxcoloring on output of SQL, might be a little slower $cfg['UseSyntaxColoring'] = TRUE; // use syntaxcoloring on output of SQL, might be a little slower
$cfg['colorFunctions'] = '#FF0000'; // Colors used for Syntaxcoloring of SQL Statements $cfg['colorFunctions'] = '#FF0000'; // Colors used for Syntaxcoloring of SQL Statements
$cfg['colorKeywords'] = '#990099'; $cfg['colorKeywords'] = '#990099';