Last update March 7, 2012

Editor Support /
PSPad



Free unicode developer editor for Microsoft Windows

Website

Syntax File

(By Nicolas Repiquet)

Current versions of PSPad (4.5 and up) include a D syntax file. For earlier versions, use the syntax file below.

Click on "Edit" and copy & paste the text between "[[Code]" and the closing "]" to the file "d.ini". Then, put the file in the "syntax" directory of PSPad.

; PSPad HighLighter definition file for D
; http://www.digitalmars.com/d/
[Settings]
Name=D
HTMLGroup=0
FileType=*.d
CommentString=
ANSIComment=0
PasComment=0
SlashComment=1
CComment=1
SpecComment=0
BasComment=0
FoxComment=0
REMComment=0
ExclComment=0
ByComment=0
SharpComment=0
SlashComment=1
PerCentComment=0
SinglQComment=0
DblQComment=0
SQLComment=0
SingleQuote=1
DoubleQuote=1
Preprocessors=0
IndentChar={
UnIndentChar=}
TabWidth=2
CaseSensitive=1
[KeyWords]
abstract=
alias=
align=
asm=
assert=
auto=
body=
break=
case=
catch=
class=
const=
continue=
debug=
default=
delegate=
delete=
deprecated=
do=
else=
enum=
export=
extern=
false=
final=
finaly=
for=
foreach=
function=
goto=
if=
import=
in=
inout=
instance=
interface=
invariant=
module=
new=
null=
out=
override=
printf=
private=
protected=
public=
return=
static=
struct=
super=
switch=
synchronized=
template=
this=
throw=
true=
try=
typedef=
union=
unittest=
version=
volatile=
while=
with=
[ReservedWords]
add=
addass=
and=
andass=
bit=
byte=
cat=
cat_r=
catass=
cdouble=
cent=
cfloat=
char=
cmp=
creal=
dchar=
div=
div_r=
divass=
double=
eq=
float=
idouble=
ifloat=
int=
ireal=
long=
mod=
mod_r=
modass=
mul=
mulass=
Object=
opCall=
opIndex=
opSlice=
or=
orass=
real=
shl=
shl_r=
shlass=
short=
shr=
shr_r=
shrass=
sub=
sub_r=
subass=
ubyte=
ucent=
uint=
ulong=
ushort=
ushr=
ushr_r=
ushrass=
void=
wchar=
xor=
xorass=


FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: March 7, 2012 20:30 (diff))