Skip to content

Instantly share code, notes, and snippets.

@maryo
Created November 19, 2012 22:31
Show Gist options
  • Save maryo/4114506 to your computer and use it in GitHub Desktop.
Save maryo/4114506 to your computer and use it in GitHub Desktop.
TypeScript syntax highlight definition for PSPad (experimental)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; CUSTOM COLORS (OPTIONAL) - APPEND IT TO YOUR PSPad.ini ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[TypeScript]
Filter=TypeScript (*.ts)|*.ts
HLTabWidth=4
IndentChar=
UnIndentChar=
Comment=009696961FFFFFFF000
Identifier=1FFFFFFF1FFFFFFF000
Key=00FF00001FFFFFFF000
Key words 2=1FFFFFFF1FFFFFFF100
Key words 3=1FFFFFFF1FFFFFFF100
Label=000000FF1FFFFFFF000
Number=00FF00FF1FFFFFFF000
Preprocessor=008080001FFFFFFF010
Reserved Word=FFFFFFFF1FFFFFFF100
Space=008080001FFFFFFF000
String=00007BCE1FFFFFFF000
Symbol=1FFFFFFF1FFFFFFF000
Compilator File=
Compilator Param=
Compilator LOG=
Compilator Run=
Compilator Help=
Compilator SaveAll=0
Compilator ParsLog=
Compilator Capture=0
Compilator HideOutput=0
Compilator DefaultDir=
Compilator LogType=0
;PSPad user HighLighter definition file
[Settings]
Name=TypeScript
HTMLGroup=1
Label=1
FileType=*.ts
CommentString=
SlashComment=1
CComment=1
SlashComment=1
IndentChar=
UnIndentChar=
TabWidth=4
SingleQuote=1
DoubleQuote=1
KeyWordChars=_$
CodeExplorer=ftJS
[KeyWords]
import=
export=
let=
var=
yield=
delete=
new=
instanceof=
typeof=
if=
else=
switch=
do=
while=
for=
in=
break=
continue=
case=
default=
return=
with=
try=
catch=
throw=
finally=
constructor=
declare=
as=
interface=
module=
abstract=
enum=
int=
short=
boolean=
export=
interface=
static=
byte=
extends=
long=
super=
char=
final=
native=
synchronized=
class=
float=
package=
throws=
const=
goto=
private=
transient=
debugger=
implements=
protected=
volatile=
double=
import=
public=
void=
any=
string=
bool=
number=
function=
arguments=
this=
[ReservedWords]
true=
false=
null=
undefined=
NaN=
[KeyWords2]
[KeyWords3]
Array=
Boolean=
Date=
Function=
Infinity=
Math=
Number=
Object=
Packages=
RegExp=
String=
netscape=
Error=
EvalError=
RangeError=
ReferenceError=
SyntaxError=
TypeError=
URIError=
;DOMImplementation DocumentFragment Node NodeList NamedNodeMap CharacterData Attr Element Text Comment CDATASection DocumentType Notation Entity EntityReference ProcessingInstruction
;DOMException
;INDEX_SIZE_ERR DOMSTRING_SIZE_ERR HIERARCHY_REQUEST_ERR WRONG_DOCUMENT_ERR INVALID_CHARACTER_ERR NO_DATA_ALLOWED_ERR NO_MODIFICATION_ALLOWED_ERR NOT_FOUND_ERR NOT_SUPPORTED_ERR INUSE_ATTRIBUTE_ERR INVALID_STATE_ERR SYNTAX_ERR INVALID_MODIFICATION_ERR NAMESPACE_ERR INVALID_ACCESS_ERR
;ELEMENT_NODE ATTRIBUTE_NODE TEXT_NODE CDATA_SECTION_NODE ENTITY_REFERENCE_NODE ENTITY_NODE PROCESSING_INSTRUCTION_NODE COMMENT_NODE DOCUMENT_NODE DOCUMENT_TYPE_NODE DOCUMENT_FRAGMENT_NODE NOTATION_NODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment