summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/java.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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)