Syntax highlighting

  • Filipe de MAtos

    Filipe de MAtos - 2000-10-09

    i'm testing screem these days and i think i've found what
    i'm looking :)
    However i got a question:
    since i use to edit files which i give the extension tmpl
    (for the HTML::Template perl modul) i would like to have screem recognizing it as a new mime-type. Is it something
    that i can do on my own (as a user) or does it need more than that ?
    Thank you

    • David A Knight

      David A Knight - 2000-10-16

      Very simple to do.

      From the Gnome Control Center select mime-types, find text/html in the list of mime-types and select edit.  In the entry beneath the extensions type tmpl, then select add

      • David A Knight

        David A Knight - 2000-10-16

        well having said the above this would make it highlight as html, to do proper highlighting would require a syntax file writing.

        Look in $HOME/.screem/syntax for examples.  However some  of the html features may not work this way as there are still some hardcoded checks for html/sgml/xml files.


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks