diff options
author | andi <andi@splitbrain.org> | 2005-05-21 23:04:30 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-05-21 23:04:30 +0200 |
commit | 107b01d60353b74aebd1901b6f19e70a998b2594 (patch) | |
tree | 5584f0b9c2eedf2050e01aac79ffe81cf6021da2 /inc/parser/renderer.php | |
parent | 5233912627d370d8a346a810cc95c46554a4a8e1 (diff) | |
download | rpg-107b01d60353b74aebd1901b6f19e70a998b2594.tar.gz rpg-107b01d60353b74aebd1901b6f19e70a998b2594.tar.bz2 |
sorting support for syntax plugins, info plugin now actually does something
Syntax plugins now need to implement getSort() which should return a number.
This number is used to add all syntax modes in the correct order. To see a
list in which order current modes are loaded you can use the info plugin like
this:
~~INFO:syntaxmodes~~ lists all known modes (includes existing plugins) with
their sorting score
~~INFO:syntaxtypes~~ lists all syntax types and their registered modes (useful
for implementing the getType() function.
darcs-hash:20050521210430-9977f-2baaf6043afc6ea3fed41cdca97564218fb519c2.gz
Diffstat (limited to 'inc/parser/renderer.php')
0 files changed, 0 insertions, 0 deletions