aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexer.tes
AgeCommit message (Collapse)AuthorFilesLines
2015-06-11fixed lexer configuration for the unnamed bufferRobin Haberkorn1-0/+1
* The unnamed buffer must be handled separately since the "lexer.test..." macros assume that register "*" is non-empty. Else it will be configured for some arbitrary lexer. * this was a regression compared to v0.6.4
2015-05-25extended <EN> command and used it to optimize "lexer.test..." macrosRobin Haberkorn1-7/+6
* EN may now be used for matching file names (similar to fnmatch(3)). This is used to check the current buffers file extension in the lexer configuration macros instead of using expensive Q-Register manipulations. This halves the overall startup time - it is now acceptable even with the current amount of lexer configurations. * EN may now be used for checking file types. session.tes has been simplified. * BREAKS macro portability (EN now has 2 string arguments). * The Globber class has been extended to allow filtering of glob results by file type.
2014-11-22updated lexer and session libraries using new EU, [* and ]* commandsRobin Haberkorn1-17/+14
2014-11-22added globbing command ENRobin Haberkorn1-8/+13
* implements the same globbing as the EB command already did * uses Globber helper class that behaves more like UNIX glob(). glib only has a glob-style pattern matcher. * The Globber class may be extended later to provide more UNIX-like globbing. * lexer.tes has been updated to make use of globbing. Now, lexers can be automatically loaded and registered at startup. To install a new lexer, it's sufficient to copy a file to the lexers/ directory.
2014-11-20lexer library: added M[lexer.checkheader] and M[lexer.checkname] for ↵Robin Haberkorn1-5/+14
matching a pattern against the first line of a buffer or its filename. This simplifies the "lexer.test..." macros and allows us to select lexers based on the #! line.
2014-11-19added first draft of new modular lexer systemRobin Haberkorn1-232/+18
2013-07-04updated lexer config: CMake and XML lexingRobin Haberkorn1-0/+87
2013-02-15install standard macros into special standard library path (pkgdatadir/lib)Robin Haberkorn1-0/+150
* SCITECOPATH environment variable defaults to this directory * manpage updated * default teco.ini updated: no need to generate it anymore