Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.17 KB

README.md

File metadata and controls

35 lines (18 loc) · 1.17 KB

This is a SciTE script lexer for the HLA programming language.

####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

####Shortcomings

  • The .properties files is only loaded at startup meaning all changes made to it will take effect
    after a restart of the editor.