# Global initialisation file for Anjuta
# Though you can modify this file, it is recommended that
# modify ~/.anjuta/user.properties instead.

# Let this file be left for the package distributors, who would like
# to present Anjuta in their own theme.

###############################
# Initial General preferences #
###############################

# Tab size in spaces
tabsize=4

# Indentation size in spaces
indent.size=4

# Use tabs for indention (0/1)
use.tabs=1

# Enable Automatic indention (0/1)
indent.automatic=1

# block start chars (such as '{') are indented
indent.opening=0

# block end chars (such as '{') are indented
indent.closing=0

# Pressing tab means indent
tab.indents=0

# Pressing backspace means unindent
backspace.unindents=0

# Caret Blink period in msec
caret.period=350

# Caret width in pixels
caret.width=1

# Caret policy
caret.policy.xslop=1
caret.policy.width=20
caret.policy.xstrict=0
caret.policy.xeen=0
caret.policy.xjumps=0
caret.policy.yslop=1
caret.policy.lines=1
caret.policy.ystrict=1
caret.policy.yeven=1
caret.policy.yjumps=0
#visible.policy.strict=1
#visible.policy.slop=1
#visible.policy.lines=4
#time.commands=1

# Default performance options
automatic.tags.update=1
build.symbol.browser=1
build.file.browser=1

# Max. length of the lines. (0 for none)
# beyond which the chars will be marked
edge.column=80

# Modes of long line indication beyond edge
# EDGE_NONE=0, EDGE_LINE=1, EDGE_BACKGROUND=2
edge.mode=1

# Background color for the edge.mode=1
edge.colour=#C0DCC0

# Should the linenumber margin visible (0/1)
margin.linenumber.visible=0

# Should the marker margin visible (0/1)
margin.marker.visible=1

# Should the fold margin visible (0/1)
margin.fold.visible=1

# Margin widths in pixels.
margin.linenumber.width=40
margin.marker.width=16
margin.fold.width=14

# Use double buffering for editor draw
buffered.draw=1

# Enable matching braces check
braces.check=1

# Sloppy braces
braces.sloppy=1

# Default file extension for newfiles
default.file.ext=x.c

# Should the editor use VC_HOME key
vc.home.key=1

# Should the indentation guides be highlighted (0/1)
highlight.indentation.guides=1

# Should the trailing spaces be removed when saving files (0/1)
strip.trailing.spaces=1

# Mouse cursor dwell period for showing debugger expression tips.
# In milliseconds.
dwell.period=750

## PRINTING PROPERTIES

# Scale the fonts by a magnification factor before printing
# [NOT IMPLEMENTED]
# print.magnification=-4

# Printing Paper size. Give the paper name.
print.paper.size=A4

# Print in color (0/1)
print.colour=1

# Print header (0/1)
print.header=1

# Line wrap with printing (0/1)
print.linewrap=1

# Print Line numbers every X lines. 0 for no line nubers printing.
print.linenumber.count=1

# Printing Orientation: Portrait = 0, Landscape = 1
print.landscape=0

# Printing Margins: Left
print.margin.left=54

# Printing Margins: Right
print.margin.right=54

# Printing Margins: Top
print.margin.top=54

# Printing Margins: Bottom
print.margin.bottom=54

# Printing Margins: Header
print.margin.header=18

# Printing Margins: Line Numbers
print.margin.numbers=36

# Enable folding, and show lines below when collapsed.
fold=1

# Fold flags
fold.flags=16

# Compact fold
fold.compact=1

# 'Arrows':     (the default) for MacOS style arrows to indicate contracted
#                   (facing right) and expanded (facing down);
# 'Plus/Minus': to display contracted folds with "+" and expanded with "-";
# 'Circular':   for a flattened tree control with round headers and rounded joins;
# 'Squares':    for a flattened tree control with square headers.
fold.symbols.style=Arrows

# Close all fold when the file is opened (0/1)
# 0: No and 1:Yes
fold.on.open=0

# Should there be highlighting within preprocessor directives
styling.within.preprocessor=1

# Should the make keep going when some target is not built
build.option.keep.going=1

# No of jobs for make (0 for infinite)
build.option.jobs=0

# Automatically goto first error after build completes.
build.option.gotofirst=0

# ?? for python
#tab.timmy.whinge.level=

# Automatically add xml clossing tags
xml.auto.close.tags=1

# Default language for asp pages.
# Default Language=1 for JS, 2 for VBS.
asp.default.language=1

# Should the calltip ignore case (default)
# Can be overriden by language specific setting
calltip.*.ignorecase=0

# Should the autocomplete ignore case (default)
# Can be overriden by language specific setting
autocomplete.*.ignorecase=0

# Should the autocomplete complete or display window
# when there is only one match.
autocomplete.choose.single=0

# Automatically show autocomplete when X numbers are there.
autocompleteword.automatic=3

# Automatic compile warnings/errors indicators in Editor.
indicators.automatic=1

## Indicator styles:
## INDIC_PLAIN      => Underline-Plain
## INDIC_SQUIGGLE   => Underline-Squiggle
## INDIC_TT         => Underline-TT
## INDIC_DIAGONAL   => Diagonal
## INDIC_STRIKE     => Strike-Out

# General indicator
indicator.0.style=Underline-TT
indicator.0.color=$(messages.color.messages1)

# Warning indicator
indicator.1.style=Underline-Squiggle
indicator.1.color=$(messages.color.warning)

# Errors indicator
indicator.2.style=Strike-Out
indicator.2.color=$(messages.color.error)

# Blank margin width on the left of the editor (in text space)
# units in pixels
blank.margin.left=1

# Blank margin width on the right of the editor (in text space)
# units in pixels
blank.margin.right=1

# Should the horizontal scrollbar be visible
horizontal.scrollbar=1

# Alpha character set
chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

# Numeric character set
chars.numeric=0123456789

# Accented character
chars.accented=ŠèŒœŸÿÀàÁáÂâÃãÄäÅåÆæÇçÈèÉéÊêËÙÌìÍíÎîÏïÐðÑñÊòÓóÈôÕõÖØøÙùÚúÛûèüÝýÞþßö

# Compilable/Buildable/executable file extensions
source.files=*.py;*.c;*.cc;*.cpp;*.cs;*.cxx;*.h;*.hh;*.hxx;*.hpp;*.idl;*.rc;*.java;\
*.pas,*.js;*.vb;*.vbs;makefile;*.mak;*.lua;*.html;*.properties;*.conf

# Should the eol character be visible
view.eol=0

# Should the white spaces be visible (0/1)
view.whitespace=0

# Should the indentation be visible (0/1)
view.indentation.whitespace=1

# Should the indentation guides be visible (0/1)
view.indentation.guides=0

# Should the line wrap be on by default?(0/1)
view.line.wrap=0

# Should the Monospaced Font be used by default
use.monospaced=1

# Should the layout be cached to optimize display
# Warning: Do not use this, as it doesn't seem to work
# properly with indicators.
#cache.layout=3

# Should the statusbar visible
statusbar.visible=1

# Should the main toolbar visible
main.toolbar.visible=1

# Should the browser toolbar visible
browser.toolbar.visible=1

# Should the  extended toolbar visible
extended.toolbar.visible=0

# Should the browser toolbar visible
format.toolbar.visible=0

# Should the debug toolbar visible
debug.toolbar.visible=0

# Internationalisation

# Supported encodings (space separated). Give a space separated list
# of encodings anjuta should support.
supported.encodings=ISO-8859-15

# Loading and Saving file encoding
save.encoding.unicode=0
save.encoding.original=1
save.encoding.current.locale=0

# Import non-modifiable language specific properties file
import ada
import asm
import ave
import baan
import bash
import bullant
import conf
import cpp
import cs
import css
import eiffel
import fortran
import html
import idl
import java
import latex
import lisp
import lua
import make
import matlab
import others
import pascal
import perl
import php
import props
import python
import rc
import ruby
import sample
import sql
import tcltk
import vb
import xml

# Give symbolic name for the fonts
font.base=font:courier,size:12
font.monospace=$(font.base)

###########################################
# Global default styles for all languages #
###########################################

# Whitespace
style.default.whitespace=fore:#808080

# Comments
style.default.comment=fore:#FF0000

# Numbers
style.default.number=fore:#007F00

# Keywords
style.default.keyword=fore:#00007F,bold

# System Keywords
style.default.syskeyword=fore:#991111,bold

# Local keywords
style.default.localkeyword=fore:#0000FF,bold

# Doublequote strings
style.default.doublequote=fore:#E8C100

# Single quote strings
style.default.singlequote=fore:#E8C100

# Preprocessor and directives
style.default.preprocessor=fore:#7F7F00

# Operators
style.default.operator=

# Unterminated strings
style.default.unclosedstring=fore:#000000,back:#E0C0E0,eolfilled

# Identifiers
style.default.identifier=

# definition name
style.default.definition=fore:#0000FF,bold

# function name definition
style.default.function=fore:#007F7F,bold

##############################################
# Styles that will be same for all languages #
##############################################

# Default
style.*.32=$(font.medium)

# Line number
style.*.33=back:#D0D0D0

# Brace highlight
style.*.34=fore:#0000FF,bold

# Brace incomplete highlight
style.*.35=fore:#FF0000,bold

# Control characters
style.*.36=

# Indentation guides
style.*.37=fore:#C0C0C0,back:#FFFFFF

# Selection colors
selection.fore=#FFFFFF
selection.back=#000000

# Caret Color
caret.fore=#000000

# Messages colors
messages.color.warning=#00FF00
messages.color.error=#FF0000
messages.color.messages1=#0000FF
messages.color.messages2=#000000

# Messages notebook tag position.
messages.tag.position=Bottom

# Docking by default
messages.is.docked=1
project.is.docked=1

# Languages configured for the command editor
# [Display name]    [language name]
commands.languages= \
	C        c      \
	C++      cpp    \
	C#       cs     \
	Java     java   \
	Perl     perl   \
	Python   py     \
	Pascal   pascal \
	Ada      ada    \
	Lua      lua    \
	LaTex    latex  \
	TclTk    tcltk  \
	Assembler   asm \
	Ave      ave    \
	Baan     baan   \
	Bash     bash   \
	Bullant  bullant\
	Eiffel   eiffel \
	Fortran  fortran\
	Lisp     lisp   \
	Makefile make   \
	Matlab   matlab \
	Ruby     rb

##################################################
# Folding                                        #
##################################################

fold.comment=1
fold.compact=1
fold.comment.python=1
fold.quotes.python=1
fold.html=1
fold.symbols=3

#########################################
# Default Commands for handling Project #
#########################################

##################################################################################################
#				Variables available for the commands										                         #
#------------------------------------------------------------------------------------------------#
#  Macros in the source             |      Variables                |    Description             #
#------------------------------------------------------------------------------------------------#
# CURRENT_FULL_FILENAME_WITH_EXT    | $(current.full.filename.ext)  | Filename with full path &ext
# CURRENT_FULL_FILENAME             | $(current.full.filename)      | Filename with full path    #
# CURRENT_FILENAME_WITH_EXT         | $(current.file.name.ext)      | Only filename with ext     #
# CURRENT_FILENAME                  | $(current.file.name)          | Only filename without ext  #
# CURRENT_FILE_DIRECTORY            | $(current.file.dir)           | Dir of the file            #
# CURRENT_FILE_EXTENSION            | $(current.file.extension)     | Only extension of the file #
##################################################################################################

##################################################################################################
# All the propeties in the *.prj file (project file) are also available when the project is      #
# loaded. In addition to them, following variables are also define:                              #
#------------------------------------------------------------------------------------------------#
#  Macros in the source             |      Variables                |    Description             #
#------------------------------------------------------------------------------------------------#
#                                   | $(top.proj.dir)               | project directory path     #
##################################################################################################

make=make
anjuta.make.options=

command.build.module=$(make) $(anjuta.make.options)
command.build.project=$(make) $(anjuta.make.options)
command.build.tarball=$(make) $(anjuta.make.options) dist
command.build.install=$(make) $(anjuta.make.options) install
command.build.clean=$(make) $(anjuta.make.options) clean
command.build.clean.all=$(make) $(anjuta.make.options) distclean
command.clean.build.module=$(make) clean all $(anjuta.make.options)
command.clean.build.project=$(make) clean all $(anjuta.make.options)
command.execute.project="$(top.proj.dir)/$(module.source.name)/$(project.source.target)" $(anjuta.program.arguments)
command.terminal=gnome-terminal -e "$(anjuta.current.command)"

# This for campatibility with older versions which might
# still have command.terminal=$(anjuta.terminal) .... property set in
# their session file. This is deprecated property and should not be set.
# Instead directly edit the command.terminal in preferences dialog of anjuta.
anjuta.terminal=gnome-terminal

anjuta.compiler.flags=-O -g
anjuta.linker.flags=
