Test editor highlight regexp API.
Before highlight
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X
Running: testHighlightRegex
Add highlight for regexp /foo_./
Lines repainted: 2
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X
Running: testHighlightRange
Highlighting range from (1, 13) to (3, 16)
Lines repainted: 3
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X
Running: testRemoveRegexHighlight
Remove highlight for regexp /foo_./
Lines repainted: 2
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X
Running: testRemoveRangeHighlight
Remove highlight for range (1, 13) to (3, 16)
Lines repainted: 3
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X
Running: testHighlightSmallRange
Highlighting range from (1, 1) to (1, 1)
Lines repainted: 1
foo();
foo_1; foor; foo_;
foo_
global_foo
global_foo2
some_other_foo_X