xtbl support for Scite

"xtbl support for Scite"
I made these small edits to my Scites config files to add colorscheme and colapse functions to the "xtbl" files used for Saints Row the third, also reformatting using Tidy is enabled.
If you did not manually edited your html.properties file then you can just skip the instructions and extract the zip file to your Scite installation folder.
http://gc-modding.googlecode.com/files/Scite xtbl support.zip
If you already edited your html.properties file and want to keep your custom file, youll need to add some things to the file.
You can find this file at: <path to scite>\Properties\html.properties
1. look for the line that says:
file.patterns.xml=*.xml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.xrc;*.rdf
and add: ";*.xtbl" at the end so it shou;ld be:
file.patterns.xml=*.xml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.xrc;*.rdf;*.xtbl
This enables colapsing and colors as its treating the filetype as xml files now.
2. Near the end of the file you will find commands based on OS.
add the following lines under the line that says "if PLAT_WIN"
Code:
        command.name.1.$(file.patterns.xml)=&Tidy Source
        command.1.$(file.patterns.xml)=tidy -xml -indent -modify "$(FilePath)"
        command.mode.1.$(file.patterns.xml)=savebefore,filter
        command.shortcut.1.$(file.patterns.xml)=Ctrl+T
This enables reformating the file using Tidy, you can select "Tidy Source" from the "Tools" menu.
This is quite usefull for readabillity as allot of the files are not quite formatted to be "easy to read"
If you not already have Tidy in your Scite installdirectory, extract the exe from this zip and place it at: <path to scite>\tidy.exe
Now your all set to handle those huge files, happy modding ;-)
==Gameplay Crush==
 
Back
Top