Menu

#573 Drawj2d edit mode

None
closed-accepted
None
5
2016-07-11
2015-10-18
A. Vontobel
No

Drawj2d creates technical line drawings using a descriptive language. It writes pdf, svg, eps and emf vector graphics or png images.

The syntax is tcl-like. It is described in the function reference.

An example test that the highlighting is correct: see attached file *.hcl.

2 Attachments

Discussion

  • Alan Ezust

    Alan Ezust - 2016-07-10
    • assigned_to: Alan Ezust
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2016-07-10

    I tried editing the mode file with the XML plugin and it reports you have an error in this mode file:

    /home/ezust/workspace/jedit/trunk/modes/drawj2d.xml
    378:The content of element type "KEYWORDS" must match "(NULL|COMMENT1|COMMENT2|COMMENT3|COMMENT4|DIGIT|FUNCTION|INVALID|KEYWORD1|KEYWORD2|KEYWORD3|KEYWORD4|LABEL|LITERAL1|LITERAL2|LITERAL3|LITERAL4|MARKUP|OPERATOR)+".
    I guess the <seq> inside the <keyword> is what the grammar is complaining about.
    Can you fix it and verify it parses properly with the XML plugin sidekick parser on?</keyword></seq>

     
  • Alan Ezust

    Alan Ezust - 2016-07-10
    • status: open --> open-remind
     
  • A. Vontobel

    A. Vontobel - 2016-07-10

    A fixed version is attached.

     
  • Alan Ezust

    Alan Ezust - 2016-07-11
    • status: open-remind --> closed-accepted
     
  • Alan Ezust

    Alan Ezust - 2016-07-11

    Committed 24451

     

Log in to post a comment.