Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#673 Django template highlighting

Completed
closed
Neil Hodgson
Scintilla (356)
5
2010-04-06
2010-03-22
No

Basic support for Django template syntax highlighting. Very similar to the existing mako support. See attached file, which was based on rev 1.129 in CVS. Feel free to email me at sdeibel at wingware dot com. Thanks!

Discussion

  • Django template highlighting

     
    Attachments
  • Forgot to add: Here are the keywords that would be used w/ the lexer in django mode:

    keywords4.$(file.patterns.django)= not in autoescape with \ csrf_token cycle empty block endblock filter endfilter for endfor firstof \ if endif ifchanged endifchanged ifequal endifequal include load now regroup spaceless \ endspaceless ssi url widthratio add addslashes capfirst center cut date \ default default_if_none dictsort dictsortreversed divisibleby escape escapejs \ filesizeformat first fix_ampersands float_format force_escape get_digit \ iriencode join last length length_is linebreaks linebreaksbr linenumbers ljust \ lower make_list phone2numeric pluralize pprint random removetags rjust safe \ safeseq slice slugify stringformat striptags time timesince timeuntil title \ truncatewords truncatewords_html unordered_list upper urlencode urlize \ urlizetrunc wordcount wordwrap yesno apnumber intcomma intword ordinal \ naturalday lorem

     
  • Neil Hodgson
    Neil Hodgson
    2010-03-23

    Thanks, committed.

     
  • Neil Hodgson
    Neil Hodgson
    2010-03-23

    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson
    Neil Hodgson
    2010-04-06

    • status: open --> closed