Menu

#543 Mode for log files

None
closed-rejected
nobody
MODE (3)
5
2015-02-04
2014-12-18
No

Please find attached a mode file for syntax highlighting log files.

   <MODE
      NAME = "Log-Analysis"
      FILE = "log.xml"
      FILE_NAME_GLOB = "*.{log,lg}"
   />
1 Attachments

Discussion

  • Alan Ezust

    Alan Ezust - 2015-02-03

    When I parse in the XML Sidekick, I get this error on line 72.

    /home/ezust/workspace/jedit/trunk/modes/log.xml
    72: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)+".

    Why not fix up the current logs.xml file instead of adding a new mode? We already have an edit mode for log files.

     
  • Alan Ezust

    Alan Ezust - 2015-02-03
    • status: open --> closed-rejected
    • Group: -->
     
  • Thiemo Kellner

    Thiemo Kellner - 2015-02-04

    Oh, I will do. When I did my mode, there was no other and I did not double check when proposing mine.

     

Log in to post a comment.