Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/rust.properties [000000] .. [8fe29e] Maximize Restore

  Switch to unified view

a b/src/rust.properties
1
# Define SciTE settings for Rust
2
3
file.patterns.rust=*.rs
4
filter.rust=Rust (rs)|$(file.patterns.rust)|
5
lexer.$(file.patterns.rust)=rust
6
7
word.chars.rust=$(chars.alpha)$(chars.numeric)_#
8
word.characters.$(file.patterns.rust)=$(word.chars.rust)
9
calltip.rust.word.characters=$(chars.alpha)$(chars.numeric)_
10
11
comment.block.at.line.start.rust=1
12
comment.block.rust=//~
13
comment.stream.start.rust=/*
14
comment.stream.end.rust=*/
15
comment.box.start.rust=/*
16
comment.box.middle.rust= *
17
comment.box.end.rust= */
18
19
statement.indent.$(file.patterns.rust)=6
20
statement.end.$(file.patterns.rust)=16 ;
21
statement.lookback.$(file.patterns.rust)=20
22
block.start.$(file.patterns.rust)=16 {
23
block.end.$(file.patterns.rust)=16 }
24
braces.rust.style=16
25
26
# Rust keywords
27
keywords.$(file.patterns.rust)=fn type as break const copy do else enum extern fail for if impl let log loop match mod mut priv pub ref return static struct trait unsafe use while in continue alignof be offsetof pure sizeof typeof yield
28
29
# Built-in types
30
keywords2.$(file.patterns.rust)=bool int uint i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 char str Self
31
32
# The self parameter
33
keywords3.$(file.patterns.rust)=self
34
35
# Styles
36
37
style.rust.32=$(font.base)
38
# Whitespace
39
style.rust.0=fore:#808080
40
# Block comment
41
style.rust.1=$(colour.code.comment.box),$(font.code.comment.box)
42
# Line comment
43
style.rust.2=$(colour.code.comment.line),$(font.code.comment.line)
44
# Block doc comment
45
style.rust.3=$(colour.code.comment.doc),$(font.code.comment.doc)
46
# Line doc comment
47
style.rust.4=$(colour.code.comment.doc),$(font.code.comment.doc)
48
# Number
49
style.rust.5=$(colour.number)
50
# Keywords 1-7
51
style.rust.6=$(colour.keyword),bold
52
style.rust.7=$(colour.keyword),bold
53
style.rust.8=$(colour.keyword)
54
style.rust.9=$(colour.keyword),bold
55
style.rust.10=$(colour.keyword),bold
56
style.rust.11=$(colour.keyword),bold
57
style.rust.12=$(colour.keyword),bold
58
# Regular string
59
style.rust.13=$(colour.string)
60
# Raw string
61
style.rust.14=fore:#B090B0
62
# Character
63
style.rust.15=$(colour.char)
64
# Operator
65
style.rust.16=$(colour.operator),bold
66
# Identifier
67
style.rust.17=
68
# Lifetime
69
style.rust.18=fore:#007F7F
70
# Macro
71
style.rust.19=$(colour.preproc)
72
# Lexical error
73
style.rust.20=fore:#000000,$(font.monospace),back:#E0C0E0
74
75
command.compile.*.rs=rustc $(FileNameExt)
76
command.build.*.rs=$(make.command)
77
command.go.*.rs=./$(FileName)
78