File: ruby.properties

package info (click to toggle)
anjuta 1.2.2-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 24,732 kB
  • ctags: 12,398
  • sloc: ansic: 82,587; cpp: 35,104; sh: 8,591; xml: 7,210; makefile: 981; python: 157
file content (94 lines) | stat: -rw-r--r-- 3,138 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# 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)"