| Keyword Highlighting in TextPad |
One such contributed file is javascript_html.syn. You can use it to highlight both HTML and JavaScript keywords in an .html file. Right-click the link, choose Save Link As..., and save it to your C:\Program Files\TextPad\System folder (or whatever the path is to your TextPad folder). Then follow these steps to configure TextPad:
Start TextPad. Choose Preferences from the Configure menu, (for the Preferences dialog box) Click the "+" next to Document Classes. Click the "+" next to the document class HTML Select Syntax. Check "Enable syntax highlighting". Select javascript_html.syn from the list. Click Apply or OK.You can now open or create an .html file that contains JavaScript to see the keyword highlighting.