# 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.rb=Ruby (.rb)|*.rb|

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

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

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

#####################
# Keywords for Ruby #
#####################

keywordclass.ruby=__FILE__ and def end in or self unless __LINE__ begin \
defined? ensure module redo super until BEGIN break do false next rescue \
then when END case else for nil retry true while alias class elsif if \
not return undef yield
keywords.$(file.patterns.rb)=$(keywordclass.ruby)

statement.indent.*.rb=
statement.end*.rb=
statement.lookback.*.rb=1
block.start.*.rb=10

file.interpreted.$(file.patterns.rb)=1

# ruby styles
# White space
style.ruby.0=$(style.default.whitespace)
# Comment
style.ruby.1=$(style.default.comment)
# Number
style.ruby.2=$(style.default.number)
# String
style.ruby.3=$(style.default.singlequote)
# Single quoted string
style.ruby.4=$(style.default.doublequote)
# Keyword
style.ruby.5=$(style.default.keyword)
# Triple quotes
# style.ruby.6=fore:#7F0000
# Triple double quotes
style.ruby.7=$(style.default.doublequote)
# Class name definition
style.ruby.8=$(style.default.localkeyword)
# Function or method name definition
style.ruby.9=$(style.default.syskeyword)
# Operators
style.ruby.10=$(style.default.operator)
# Identifiers
style.ruby.11=$(style.default.identifier)
# Comment-blocks
style.ruby.12=$(style.default.comment)
# End of line where string is not closed
style.ruby.13=$(style.default.unclosedstring)
# Matched Operators
style.ruby.34=fore:#0000FF,bold
style.ruby.35=fore:#FF0000,bold
# Braces are only matched in operator style
braces.ruby.style=10

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

command.compile.file.$(file.patterns.rb)=
command.build.file.$(file.patterns.rb)=
command.execute.file.$(file.patterns.rb)=ruby "$(current.full.filename.ext)"
