#673 Django template highlighting

Scintilla (358)

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!


  • Stephan R.A. Deibel

    Django template highlighting

  • Stephan R.A. Deibel

    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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks