Home
last modified time | relevance | path

Searched hist:"107 b01d60353b74aebd1901b6f19e70a998b2594" (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/inc/
H A Dpluginutils.php107b01d60353b74aebd1901b6f19e70a998b2594 Sat May 21 21:04:30 UTC 2005 andi <andi@splitbrain.org> 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

H A Dparserutils.php107b01d60353b74aebd1901b6f19e70a998b2594 Sat May 21 21:04:30 UTC 2005 andi <andi@splitbrain.org> 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

/dokuwiki/inc/parser/
H A Dparser.php107b01d60353b74aebd1901b6f19e70a998b2594 Sat May 21 21:04:30 UTC 2005 andi <andi@splitbrain.org> 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