summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/java.rb
Commit message (Collapse)AuthorAgeFilesLines
* Bug #6: merge ConradIrwin's approach with korny'sKornelius Kalnbach2011-12-271-1/+1
|
* Remove assumption about a stable $:Conrad Irwin2011-12-231-1/+1
| | | | | | | | | | In some environments (e.g. [1]) $: can change between loading the library and using it. To avoid this problem, we always pass an absolute path to autoload internal modules. [1] https://github.com/pry/pry/issues/280
* pretty (longer) token class names; closes #347Kornelius Kalnbach2011-08-191-1/+1
|
* renamed pre_* token kinds to predefined_*murphy2011-04-171-2/+2
|
* Adjust Java scanner to new Plugin interface.murphy2011-02-281-2/+3
|
* Got rid of the old streaming system (see #142).murphy2010-05-011-1/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-54/+41
|
* Fixing bug in Java and JSON scanners (unfinished strings where not closed ↵murphy2010-04-171-1/+1
| | | | correctly).
* Java Scanner: Package names are recognized, along with some code cleanup. ↵murphy2010-04-021-6/+14
| | | | Closes #210.
* Cleanups for C, C++, CSS, Delphi, Groovy, Java, PHP, Python, RHTML, XML, and ↵murphy2010-03-261-13/+16
| | | | YAML scanners.
* Cleanups.murphy2009-12-301-1/+1
|
* Updated Java scanner: Higlighting of keywords according to java.sun.com.murphy2009-10-191-11/+14
| | | | | | * added :reserved, :pre_constant, :exception classes for idents and keywords * "threadsafe" isn't a Java keyword
* Java scanner:murphy2009-04-141-3/+4
| | | | | | | | | | | * Fixed test after r305 broke it. * [FIXED] Save last_token_dot state through comments. C scanner: * Added file_extension declaration. ** All scanners should have this. * Code cleanup.
* Java scanner highlights interface declarations as :class.murphy2009-02-201-1/+1
|
* Java Scanner: remove :regexp cases, use :pre_type for built-in types.murphy2009-01-131-10/+3
|
* New: *Java Scanner* (closes #42).murphy2008-09-211-0/+179
* Based on JavaScript, does a good job, but may need more polish. * Java::BuiltinTypes::List is a helper constant that contains 2389 Java types. ** The list was generated from TextMate's Java bundle with the help of SimpleRegexpScanner. * I added the JRuby core classes as example code for testing (1.8 MB) JavaScript Scanner: * Fixed recognition of floats and algebraic signs. ** Still needs work - we need to distinguish i-1 from i+-1. More changes: * New: "SimpleRegexpScanner":http://murfy.de/simple-regexp-scanner * Added new token class :annotation along with CSS styles. ** Should be useful for Python, too. * coderay_suite warns if no scanner was found for this language. * PluginHost#default can be called without parameter (will return default id)