Module: Textpow

Defined in:
lib/ver/vendor/textpow.rb

Overview

Copyright © 2009 Michael Fellinger

Textpow is the underlying library for the UltraViolet syntax-highlighting engine. It appears to be under MIT license, at least that is the only license I could find.

So I simply included it into VER and modified it to:

* Work faster and more efficient
* Use the builtin Nokogiri capabilities of Ruby 1.9
* Parse Plists with Nokogiri.

There is no dependency on Nokogiri in VER itself, as we ship the converted files as JSON, which is in Ruby stdlib and suited very well for transporting and processing Plists compared to XML or YAML.

Defined Under Namespace

Classes: Processor, SyntaxNode, SyntaxProxy

Constant Summary collapse

ParsingError =
Class.new(RuntimeError)