1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-18 20:56:17 +01:00
Commit Graph

206 Commits

Author SHA1 Message Date
Christian Nicolai
d3e22cfc31 Added XML nested declaration patch
I don't know whether this introduces bugs with the XML highlighter but the
nested declaration highlighting is wrong (IMO and compared to other editors)
in situations like this:

    <!--<inner_tag>
    foo
    bar
    -->

The second '<' after the <!-- activates the nested_decl rule and prevents this
comment from being highlighted with class Comment.
2011-08-05 22:58:55 +02:00
Christian Nicolai
6b47a433ab Added whitespace highlighting scheme
Note: you need to be careful what options to enable on JOE since
only tabs, spaces and newlines matter...
2011-08-05 22:56:58 +02:00
Christian Nicolai
60f12d591d Added global variable highlighter for ruby
Feature:
- highlights $blub variables (yellow)
2011-08-04 00:23:31 +02:00
Christian Nicolai
267ac0301b Added some subtypes of ruby files 2011-08-03 00:15:46 +02:00
Christian Nicolai
cc7cbfc270 Added comment information for several files 2011-08-03 00:07:01 +02:00
Christian Nicolai
ee54b1ff60 New syntax highlighter for INI files
Features:
- comments after ; and # (even on key=value lines)
- section highlight
- escaping in values
- error checking for [sections] and incomplete key=value pairs
2011-08-02 23:46:07 +02:00
Christian Nicolai
ca2159561e Cleaned properties.jsf up 2011-08-02 23:45:43 +02:00
Christian Nicolai
6d9bc7ef5a Updated HowItWorks.md 2011-08-02 22:14:39 +02:00
Christian Nicolai
1075dd7278 Updated HowItWorks.md 2011-08-02 22:10:26 +02:00
Christian Nicolai
6ce845cb5a New JOE highlighter for Java's .properties files
Features:
- many :p
- value continuation on next line
- unicode escape codes
- line comments on # and !
- good error detection (simpler on stricter files)
2011-08-02 22:03:36 +02:00
Christian Nicolai
69bdfbbf9b New comment todo labels for java 2011-08-02 18:53:07 +02:00
Christian Nicolai
acee020264 Refactored ruby comment todo labels 2011-08-02 18:52:46 +02:00
Christian Nicolai
09e10b4b36 New separate template file for comment todo labels 2011-08-02 18:52:01 +02:00
Christian Nicolai
46014493d8 Removed URL highlighter
It's not generally usable...
2011-08-02 17:50:59 +02:00
Christian Nicolai
6eaac228a3 Renamed antvar subroutine to maybe_antvar 2011-08-02 17:27:05 +02:00
Christian Nicolai
5912526050 URL highlighter for YAML 2011-08-02 17:23:09 +02:00
Christian Nicolai
c8bb8774a7 Fixed bug in yaml.jsf 2011-08-02 16:45:04 +02:00
Christian Nicolai
495194d5ca Fixed ruby string substitution highlight
In (at least recent versions of) ruby the phrase #{var} is used
for string substitution in "..." strings.
2011-08-02 15:16:22 +02:00
Christian Nicolai
2dfd716959 Improved Ant syntax highlighting
Features:
- keyword hilite for start tag names e.g. <target ...>
- subroutine 'antvar' for Ant variable references
2011-08-02 15:00:12 +02:00
Christian Nicolai
1a314919ff New syntax highlighting for Ant scripts
Common file for ftyperc: build.xml

This jsf is derived from the XML highlighter but with changed
colors matching the fact that for Ant <tags> are important
(and blue is bad here).

Features:
- Ant variable reference highlighting for e.g. ${build.dir}
2011-08-02 13:58:41 +02:00
Christian Nicolai
fe150361d1 Updated README 2011-08-02 13:09:30 +02:00
Christian Nicolai
87f179cf52 New syntax highlighting profile for apt's sources.list 2011-08-02 13:06:11 +02:00
Christian Nicolai
63a431bc13 Improved yaml.jsf 2011-08-02 12:29:30 +02:00
Christian Nicolai
c12712df6c Method hilite for Java, prolog.jsf tabs corrected 2011-08-01 20:48:33 +02:00
Christian Nicolai
82ec704ab2 Added JOEs original java syntax highlighting file 2011-08-01 19:49:39 +02:00
Christian Nicolai
5d55ca5db6 Updated HowItWorks 2011-08-01 19:42:44 +02:00
Christian Nicolai
e0304b565a Updated HowItWorks 2011-08-01 19:35:32 +02:00
Christian Nicolai
f4be1d570d Updated HowItWorks 2011-08-01 19:21:50 +02:00
Christian Nicolai
81411e1446 Updated HowItWorks 2011-08-01 19:01:46 +02:00
Christian Nicolai
26bf96cc4c Updated HowItWorks 2011-08-01 18:56:59 +02:00
Christian Nicolai
03523d5ac6 Outsourced description into HowItWorks.md 2011-08-01 18:53:45 +02:00
Christian Nicolai
b00055a6e3 Updated README 2011-08-01 18:46:03 +02:00
Christian Nicolai
b75473babf Improved predicate highlight 2011-08-01 15:34:07 +02:00
Christian Nicolai
051fb7e61b Predicate highlight for Prolog
This is done by using mark/endmark and recolormark facilities of jsf.
2011-08-01 15:30:09 +02:00
Christian Nicolai
fe6271c08a Corrected tabs - using tab size 8 2011-08-01 11:21:59 +02:00
Christian Nicolai
feb8e9fbed Use tab size 8 for jsf files
Good old unix style...
2011-08-01 11:09:48 +02:00
Christian Nicolai
649adaa634 Only highlight {} in Ruby (like Java) 2011-08-01 10:41:02 +02:00
Christian Nicolai
fa890e5f6a Fixed brace support for ruby 2011-08-01 10:38:51 +02:00
Christian Nicolai
fda50c3968 Brace support for Ruby 2011-08-01 10:32:23 +02:00
Christian Nicolai
848f80c0b7 Updated README 2011-08-01 10:25:17 +02:00
Christian Nicolai
969e481e05 Extended ftyperc by Markdown, YAML support 2011-08-01 02:00:29 +02:00
Christian Nicolai
9cc4fa37d0 Original JOE ftyperc (file -> syntax mapping) 2011-08-01 01:59:53 +02:00
Christian Nicolai
fa3e34279c Greatly extended YAML syntax file for JOE
New features:
- YAML directive support (red)
- YAML string (as scalar) support
- brace hilite (magenta)
- YAML block delimeters --- and ... (blue)
- YAML references &idxy and *idxy (yellow)
- YAML datatypes: builtin ones and local-defined (by user)
2011-08-01 01:53:52 +02:00
Christian Nicolai
cf3dd2ebd8 Removed experiments from yaml.jsf 2011-08-01 00:49:46 +02:00
Christian Nicolai
3503381f40 Some experiments with yaml.jsf 2011-08-01 00:48:52 +02:00
Christian Nicolai
293ea4995c New YAML parsing profile for JOE
Currently only supports single line comments.
2011-08-01 00:09:15 +02:00
Christian Nicolai
b657c3c74b Added jsf for Markdown
And by the way: plain text should be augmented!
2011-07-31 23:41:28 +02:00
Christian Nicolai
c73df189f8 Improved ruby.jsf
Now class and instance members (@@var and @var) will be recognized correctly.
2011-07-31 22:55:29 +02:00
Christian Nicolai
7904eb9dbf Extended prolog.jsf
New features:
- multiline comments
- brace detection (magenta) for e.g. lists
- long list of keywords
2011-07-31 22:43:51 +02:00
Christian Nicolai
5b95c54985 Added prolog syntax highlighting for JOE
Feature are until now:
- single line comments
- Variables (capital letter)
- some keywords (like write, nl)
- integer numbers
2011-07-31 22:06:40 +02:00