summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/python.rb
Commit message (Collapse)AuthorAgeFilesLines
* add python binary stringKornelius Kalnbach2013-06-121-2/+2
|
* minor tweaks to generator and scanner edge casesKornelius Kalnbach2013-03-111-1/+1
|
* replace weird regexp that confuses ruby-headKornelius Kalnbach2012-03-021-1/+1
|
* pretty (longer) token class names; closes #347Kornelius Kalnbach2011-08-191-2/+2
|
* fix Ruby 1.9.3 warnings about unused local variablesmurphy2011-06-111-1/+1
|
* renamed pre_* token kinds to predefined_*murphy2011-04-171-1/+1
|
* Improved Python docstring highlighting (closes #190).murphy2010-05-181-2/+6
|
* Got rid of the old streaming system (see #142).murphy2010-05-011-2/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-62/+53
|
* Python scanner highlights docstrings as comments (see #190).murphy2010-04-021-10/+15
|
* Cleanups for C, C++, CSS, Delphi, Groovy, Java, PHP, Python, RHTML, XML, and ↵murphy2010-03-261-21/+25
| | | | YAML scanners.
* Updated Python scanner (#41)murphy2009-10-191-8/+41
| | | | | | | * Unicode support (kind of) * [from ...] import ... as construct highlighted as :include * added a test case for import statements
* Python Scanner (issue #41) updated:murphy2009-06-131-52/+71
| | | | | | | | * class and method definitions are highlighted * improved keyword argument recognition (less false positives) * backticks are operators now * from/import support still missing
* Fixed an issue with predefined idents in the Python Scanner.murphy2009-06-071-0/+1
| | | | | * @file=@ should not be recognized as the predefined method @file@.
* Improved Python scanner (issue #41).murphy2009-04-221-19/+45
| | | | | | | | * fixed numeric literals * better Python 3 support * bugfixes, optimizations * added two more test files
* Experimental Unicode support for Scanners in Ruby 1.9.murphy2009-04-201-1/+3
| | | | | | | * Python scanner uses it for idents. * Scanner#column method needed to be fixed for multibyte characters because StringScanner#pos still works on bytes.
* New: *Python Scanner* (feature #41)murphy2009-04-141-0/+204
* Based on pygment's implementation. * The goal is to highlight both Python 2 and 3. ** print and exec will need special treatment. * Still needs work; see TODOs in the code. * Example files: PLEAC, pygments. ** The pygments.unistring code has very long lines which bother TextMate, so I put this one in a separate file. * Rating: 1 / 5 stars, "Poor support", because of problems with numeric literals. * Added .py, .pyw and .py3 to FileType. Else: * Sorted lines in FileType::TypeFromExt.