Contents
HighlighterList
Ru En
Description
A simple macro for displaying a table with list of available Pygments lexers.
Download & Release Notes
Download
Release Version
Moin Version
Release Notes
Usage
<<HighlighterList([<parameters, separated by comma>])>>
Parameter name
Description
columns
List of columns to display, separated by pipe character. Currently supported "description", "names", "patterns", "mimetypes". Unknown column names ignored. Spaces should be omitted. If empty, all columns are displayed.
sort_column
Name of column by which list should be sorted. Column name can be one of "description", "names", "patterns", "mimetypes". If column is not "description", item values in this columns will be split. Has effect in any case (not only when sort is True). If sort_column is empty, description column is used.
filter_re
Filtering regular expression which data in sort_column should match. If filter_re is empty, no filtering performed.
sort
Boolean value which determine whether list should be sorted.
Example
<<HighlighterList>> <<HighlighterList(columns=description|names)>> <<HighlighterList(columns=names|description, sort_column=aliases)>> <<HighlighterList(columns=names|description, sort_column=aliases, filter_re=python)>> <<HighlighterList(columns=names|description, sort_column=aliases, filter_re=python, sort=false)>> <<HighlighterList(columns=names|description, filter_re=python, sort=false)>>
Copyright
2009, EugeneSyromyatnikov.
License
GNU GPL.
Bugs
Discussion
I'm not sure that filter parameter should work as it works now, but other my ideas how it can work was too syntatically complicated and i've followed KISS principle instead. May be, some kind if js-driven datagrid live table should be implemented (with sorting, filtering and searching). -- EugeneSyromyatnikov 2009年11月16日 06:20:54