faqts : Computers : Programming : Languages : Tse : Color : Syntax highlighting

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 1 people (0%) answered Yes
Recently 0 of 1 people (0%) answered Yes

Entry

TSE: Syntax: Highlight: Create: How to possibly create a .tse file for PHP in TSE v2.5?

Jun 30th, 2003 13:21
Knud van Eeden,


Computer: Wordprocessor: TSE: Color: Syntax highlighting: PHP: File: 
Create: TSE: v2.5: How to create a syntax highlighting file for .php 
files in TSE v2.5 for DOS?

Steps: Overview

         (read the files custom.doc and colors.doc for more information
          in the TSE ..\mac\color directory)

 Step 1. Find all the keywords for that language (e.g. PHP)

 Step 2. edit this file, so only the keywords are left
          choose a color for this keywords (e.g. GD)
           add this color at the end of this keywords
            merge it also with the keywords for the HTML keywords
             sort this file (case insensitive)
              take out duplicate lines (e.g. with the uniq macro)

 Step 3. take a (similar) syntax highlight file from the color 
directory
         (..\tse\mac\color) and edit this file for this language

 Step 4. insert the keywords for that language

 Step 5. save it as
          phpcolor.tse
         in the TSE directory
          ..\mac\color