Hi Tomaso,

Anjuta uses scintilla directly from scintilla cvs, so this file should
really go to scintilla mailing list. I am forwarding your mail to the
list so that they can consider adding the properties file. I haven't
heard of 'D' language, but if you have any reference to it, you may post
it as a follow up.

Thanks.

Regards,
-Naba

--- Begin Message ---
Hi Naba

This file has been sitting for a long time on my HD, it's better if I
send before it gets lost.

This property file works with Anjuta 1.2.x, haven't tried with the
latest 2.0 but if I have a spare hour I'll create a Gentoo ebuild file
for the new version (doesn't exist as of today) and give it a try.

Thanks for the great IDE, its usability is top notch!

  Tom

-- 
Tomaso <[EMAIL PROTECTED]>
# Anjuta internal configuration file

#----------------- WARNING ------------------------------------#
# Any modification in this file without knowing proper internal
# working of Anjuta may lead to instabilites.
#----------------- WARNING ------------------------------------#

# Anjuta uses this file for internal operations,
# therefore this file should never be modified.
# Only Anjuta developers will be tampering with this file. 

# Any modification if needed should be approved by the Anjuta
# developers, so that the source code is also changed (if needed)
# and the changes incorporated in the next release of Anjuta.

##################################################
# Filters to be used in file open/close/save etc #
##################################################
filter.d=D (.d;.c;.cc;.cpp;.cxx;.cs;.h;.hh;.hxx;.hpp;.dlg;.rc;.rc2;.mak)|\
*.d;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;*.dlg;*.rc;*.rc2;*.mak;makefile|

############################################
# File patterns defined for all file types #
############################################
file.patterns.d=*.d

#########################################
# File icons defined for all file types #
#########################################
icon.$(file.patterns.d)=file_c.png

####################################################
# Lexer to be used for corresponding file patterns #
####################################################
lexer.$(file.patterns.d)=d

################################################
# File type corresponding to the file patterns #
################################################
filetype.$(file.patterns.d)=d

##################
# Keywords for D #
##################
keywordclass.d=\
abstract alias align asm assert auto \
bit body break byte \
case cast catch cent char class cfloat cdouble creal const continue \
dchar debug default delegate delete deprecated do double \
else enum export extern \
false final finally float for foreach function \
goto \
idouble if ifloat import in inout int interface invariant ireal is \
long \
module \
new null \
out override \
pragma private protected public \
real return \
short static struct super switch synchronized \
template this throw true try typedef typeof \
ubyte ucent uint ulong union unittest ushort \
version void volatile \
wchar while with

keywords.$(file.patterns.d)=$(keywordclass.d)

# keywords2 is for highlighting user defined keywords or function calls or 
similar
# keywords3 is for doc comment keywords, highlighted in style 17
#CPP doxygen
keywords3.$(file.patterns.d)=a addindex addtogroup anchor arg attention \
author b brief bug c class code date def defgroup deprecated dontinclude \
e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example 
exception \
f$ f[ f] file fn hideinitializer htmlinclude htmlonly \
if image include ingroup internal invariant interface latexonly li line link \
mainpage name namespace nosubgrouping note overload \
p page par param post pre ref relates remarks return retval \
sa section see showinitializer since skip skipline struct subsection \
test throw todo typedef union until \
var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }

###############################
# Characters definition for D #
###############################
word.characters.$(file.patterns.d)=$(chars.alpha)$(chars.numeric)_#

#############################################################
# Keywords after which auto indention will take place for D #
#############################################################
statement.indent.$(file.patterns.d)=5 case catch class debug default do else 
for foreach if \
private protected public struct try union version while switch

#####################################
# End of statements character for D #
#####################################
statement.end.$(file.patterns.d)=10 ;

#############################
# Statements lookback for D #
#############################
statement.lookback.$(file.patterns.d)=20

#################################
# Start and end of blocks for D #
#################################
block.start.$(file.patterns.d)=10 {
block.end.$(file.patterns.d)=10 }

#########################################
# Start and end of comment blocks for D #
#########################################
comment.block.d=//~
#comment.block.at.line.start.d=1
comment.stream.start.d=/*
comment.stream.end.d=*/
comment.box.start.d=/*
comment.box.middle.d= *
comment.box.end.d= */
fold.comment=1
fold.preprocessor=1

##########################
# Other properties for D #
##########################
styling.within.preprocessor=0

##############################################
# Indentation to be maintained by the lexers #
##############################################
#indent.maintain.$(file.patterns.d)=1

#autocomplete.d.fillups=(

#styling.within.preprocessor=1
#!!! preprocessor.symbol.$(file.patterns.d)=#
#!!! preprocessor.start.$(file.patterns.d)=if ifdef ifndef
#!!! preprocessor.middle.$(file.patterns.d)=else elif
#!!! preprocessor.end.$(file.patterns.d)=endif

file.has.folds.$(file.patterns.d)=1
file.has.tags.$(file.patterns.d)=1
file.can.autoformat.$(file.patterns.d)=1
file.is.source.$(file.patterns.d)=1

#!!! apiclass.gnome=$(anjuta.data.directory)/linux-gnome-c.api
#!!! api.$(file.patterns.d)=$(apiclass.gnome)

######################
# D style definition #
######################

# Whitespaces
style.d.0=$(style.default.whitespace)
# Comment
style.d.1=$(style.default.comment)
# Line Comment
style.d.2=$(style.default.comment)
# Doc comment
style.d.3=$(style.default.comment)
# Number
style.d.4=$(style.default.number)
# Keyword
style.d.5=$(style.default.keyword)
# Keyword 2
style.d.16=$(style.default.localkeyword)
# Keyword 3
style.d.19=$(style.default.syskeyword)
# Double quoted string
style.d.6=$(style.default.doublequote)
# Single quoted string
style.d.7=$(style.default.singlequote)
# UUIDs (only in IDL)
style.d.8=fore:#804080
# Preprocessor
style.d.9=$(style.default.preprocessor)
# Operators
style.d.10=$(style.default.operator)
# Identifiers
style.d.11=$(style.default.identifier)
# End of line where string is not closed
style.d.12=$(style.default.unclosedstring)
# Verbatim strings for D
style.d.13=fore:#007F00,back:#E0FFE0,eolfilled
# Braces are only matched in operator style
braces.d.style=10

######################################################
# Default Commands for handling different file types #
######################################################

command.compile.file.$(file.patterns.d)=gdc $(anjuta.compiler.flags) -c 
"$(current.file.name.ext)" -o "$(current.file.name).o"
command.build.file.$(file.patterns.d)=gdc $(anjuta.compiler.flags) 
"$(current.file.name.ext)" $(anjuta.linker.flags) -o "$(current.file.name)"
command.execute.file.$(file.patterns.d)="$(current.full.filename)" 
$(anjuta.program.arguments)

--- End Message ---
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to