Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 926 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 926 Bytes

TXL Language Support For BBEdit/TextWrangler

This adds basic syntax highlighting and rule/function/define recognition to TXL grammar & rule files in BBEdit/TextWrangler.

I used the Codeless Language Modules method to implement this. That means it's not a full parse - it just uses regular expressions - but rules/functions/defines show up in the dropdown menu and are "foldable" in the window and most syntax, comments, and strings are coloured properly.

To use it with TextWrangler, put the Txl.plist file in your ~/Library/Application Support/TextWrangler/Language Modules folder and restart TextWrangler.

I don't have BBEdit (anymore - I had version 1!), but it should work. The path would be ~/Library/Application Support/BBEdit/Language Modules.

Fixes, improvements, and pull requests welcome!