Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 3, 2011
Commits on Oct 4, 2011
Commits on Sep 29, 2011
  1. BibTeX lexer contributed by Brendan O'Flaherty

    authored
    I made the following modifications:
    
     * Case insensitive entry name matching using the ic() function
     * The string literal pattern now includes end of line characters
       because http://en.wikipedia.org/wiki/BibTeX#Examples gave me
       the impression that string literals can span multiple lines
Commits on Jul 20, 2011
Commits on Jul 18, 2011
  1. Update the rockspec template

    authored
Commits on Jul 16, 2011
Commits on Jul 15, 2011
  1. Refactor documentation link handling

    authored
    The Lua lexer previously always matched expressions like "io.input" as
    one identifier. This was a quick and dirty hack to add support for
    documentation links in the Lua highlighter. I've decided to keep the
    hack because it can save quite a lot of code however this behavior is
    now disabled by default and can be enabled with join_identifiers=true
    (the Lua highlighter of course enables this behavior by default).
Commits on Jul 10, 2011
  1. Don't highlight escape sequences in Lua long strings

    authored
    I've also changed the highlighter definition to use a table with
    named fields which makes the definitions more self explanatory
    and ready for future expansion :-)
  2. Document the new lexer functions

    authored
  3. Refactor highlighters to use decorated token stream

    authored
    The previous implementation applied several text replacement filters
    one after the other and they could clash and cause all sorts of
    nastyness. It was also difficult to apply escaping correctly and I
    hope that this refactoring will make it easier for me to make the
    code robust instead of fragile.
Commits on Jul 9, 2011
  1. Separate generic code into lxsh.lexers.* and lxsh.highlighters.*

    authored
    Thanks to David Manura (@davidm) for the suggestion :-). While separating
    the code I also implemented autoloading for everything in the lxsh.*
    name space to make the code a bit more pleasant to read and write.
  2. Tests for the lexers and changes for problems found by the tests

    authored
    Lua lexer:
     * Include vertical tab in white space
     * Match numbers before operators (.1 is a number)
    
    C lexer:
     * Optionally match trailing newline after CPP directives
      * Same goes for single line comments (C++ comments)
     * Match numbers before operators (.1 is a number)
Commits on Jan 14, 2011
  1. Basic support for Lua interactive prompt highlighting

    authored
    This should really be a separate mode but that's
    complicated so for now this will have to do :-)
  2. Release LXSH 0.6.1

    authored
Something went wrong with that request. Please try again.