Menu

#109 An Edit Mode for Template Toolkit

closed-accepted
None
5
2007-09-25
2007-06-17
No

This is my first Edit Mode, so please do not laugh too much :) .
However it works for me for now.
This file works fine when doing template for the web.
Here is the record from my catalog:

<MODE NAME="template-toolkit" FILE="tthtml.xml" FILE_NAME_GLOB="*.tt*" />
I am attaching the file:

Discussion

  • Krassimir Berov

    Krassimir Berov - 2007-06-17

    An Edit Mode for Template Toolkit

     
  • daniel hahler

    daniel hahler - 2007-08-28
    • assigned_to: nobody --> blueyed
     
  • daniel hahler

    daniel hahler - 2007-08-28

    Logged In: YES
    user_id=663176
    Originator: NO

    Thank you for your contribution.

    Instead of using EXCLUDE_MATCH="TRUE", I've changed it to use the new syntax for jEdit 4.3 (MATCH_TYPE="CONTEXT").

    Before committing this, I want to get feedback about the FILE_NAME_GLOB in the catalog mode line: *.tt* seems a bit too generic IMHO. Did you mean *.tt instead or can this get narrowed down to something like
    *.tt{html,css,js}?

     
  • Krassimir Berov

    Krassimir Berov - 2007-09-24

    Logged In: YES
    user_id=1331451
    Originator: YES

    Thanks for taking the time to review my work.
    Sorry for answering now.
    And yes, the extension can be narrowed to *.tt{html,css,js}..
    Template Toolkit (as many others templating solutions) kan be used for any type of file, but it is most used for web development.
    So narowing it to *.tt{html,css,js} seems quite fine.
    Thanks againg.

     
  • daniel hahler

    daniel hahler - 2007-09-25

    Logged In: YES
    user_id=663176
    Originator: NO

    Just committed in r10750.
    This will be included in jEdit 4.3pre11.

    Thank you!

     
  • daniel hahler

    daniel hahler - 2007-09-25
    • status: open --> closed-accepted
     
  • Krassimir Berov

    Krassimir Berov - 2007-09-27

    Logged In: YES
    user_id=1331451
    Originator: YES

    Great!

     

Log in to post a comment.