Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nkmathew/scite-hla-lexer
A SciTE script lexer for the HLA programming language.
https://github.com/nkmathew/scite-hla-lexer
Last synced: about 2 months ago
JSON representation
A SciTE script lexer for the HLA programming language.
- Host: GitHub
- URL: https://github.com/nkmathew/scite-hla-lexer
- Owner: nkmathew
- Created: 2014-02-28T19:57:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-15T16:34:46.000Z (almost 10 years ago)
- Last Synced: 2024-06-09T21:45:22.008Z (4 months ago)
- Language: Lua
- Size: 274 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [SciTE](http://www.scintilla.org) script lexer for the [HLA programming language.](
http://en.wikipedia.org/wiki/High_Level_Assembly)####Usage
Place the properties file(*script_hla.properties*) in **$(SciteDefaultHome)** which usually points
to **C:\ProgramData\SciTE** in Windows.You can run this command in the output pane to confirm.
> echo $(SciteDefaultHome)
Then place the *Lua* script(**script_hla.lua**) in the same directory and add this line to your
**SciTEStartup.lua** file:dofile(props["SciteDefaultHome"] .. "\\script_hla.lua")
The script can be placed in a different directory as long as you update the path accordingly.
You'll have to change the settings in the properties file to suite your needs. I imagine that
anybody who has used *SciTE* for quite some time has moved away from the default theme.Here's how a *hla* script looks like in my case(a little too much color):
![A screenshot of the lexer in action](http://i.imgur.com/LxvwepB.png?1)
####Shortcomings
+ The *.properties* files is only loaded at startup meaning all changes made to it will take effect
after a restart of the editor.