Skip to content

Commit

Permalink
Drop no longer used config for SQP CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 6, 2013
1 parent 3af16f5 commit cc36455
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
28 changes: 1 addition & 27 deletions doc/config.rst
Expand Up @@ -2693,6 +2693,7 @@ Default queries
Default queries that will be displayed in query boxes when user didn't
specify any. You can use standard :ref:`faq6_27`.

.. _cfg_SQP:
SQL parser settings
-------------------

Expand All @@ -2711,33 +2712,6 @@ SQL parser settings
* ``'text'``
* ``'none'``

.. _cfg_SQP:
.. config:option:: $cfg['SQP']['fmtInd']
:type: float
:default: ``'1'``

.. config:option:: $cfg['SQP']['fmtIndUnit']
:type: string
:default: ``'em'``

For the pretty-printing of :term:`SQL` queries,
under some cases the part of a query inside a bracket is indented. By
changing :config:option:`$cfg['SQP']['fmtInd']` you can change the amount
of this indent.

Related in purpose is :config:option:`$cfg['SQP']['fmtIndUnit']` which
specifies the units of the indent amount that you specified. This is used
via stylesheets.

You can use any HTML unit, for example:

* ``'em'``
* ``'ex'``
* ``'pt'``
* ``'px'``

.. config:option:: $cfg['SQP']['fmtColor']
:type: array of string tuples
Expand Down
14 changes: 0 additions & 14 deletions libraries/config.default.php
Expand Up @@ -2844,20 +2844,6 @@
*/
$cfg['SQP']['fmtType'] = 'none';

/**
* Amount to indent each level (floats are valid)
*
* @global integer $cfg['SQP']['fmtInd']
*/
$cfg['SQP']['fmtInd'] = '1';

/**
* Units for indenting each level (CSS Types - {em, px, pt})
*
* @global string $cfg['SQP']['fmtIndUnit']
*/
$cfg['SQP']['fmtIndUnit'] = 'em';


/*******************************************************************************
* If you wish to use the SQL Validator service, you should be aware of the
Expand Down

0 comments on commit cc36455

Please sign in to comment.