Methods
fn new() -> LanguageSettings
Creates a new LanguageSettings object.
Example
let s = new;
assert!;
Clones the LanguageSettings object and returns a new independet one.
Example
let s0 = new;
let s1 = s0.clone;
assert_eq!;
s1.typ = "multiline";
assert_ne!;
Protocols
protocol get typ
let output = value.typ
Get the Language Typ which shuld be used. Available options are: 'singleline' or 'multiline'
Example
let s = new;
s.typ = "multiline";
assert_eq!;
protocol set typ
value.typ = input
Set the Language Typ which shuld be used. Available options are: 'singleline' or 'multiline'
Example
let s = new;
s.typ = "multiline";
assert_eq!;