1 Tests how utilities functions highlight text and then revert/re-apply highlighting changes.
4 --------- Running test: ----------
5 After highlight: [function]
7 After apply: [function]
8 --------- Running test: ----------
9 After highlight: [functio]n
10 After revert: function
11 After apply: [functio]n
12 --------- Running test: ----------
13 After highlight: f[unction]
14 After revert: function
15 After apply: f[unction]
16 --------- Running test: ----------
17 After highlight: f[unctio]n
18 After revert: function
19 After apply: f[unctio]n
20 --------- Running test: ----------
21 After highlight: [function functionName]
22 After revert: function functionName
23 After apply: [function functionName]
24 --------- Running test: ----------
25 After highlight: [function functionNam]e
26 After revert: function functionName
27 After apply: [function functionNam]e
28 --------- Running test: ----------
29 After highlight: f[unction functionName]
30 After revert: function functionName
31 After apply: f[unction functionName]
32 --------- Running test: ----------
33 After highlight: f[unction functionNam]e
34 After revert: function functionName
35 After apply: f[unction functionNam]e
36 --------- Running test: ----------
37 After highlight: functio[n f]unctionName
38 After revert: function functionName
39 After apply: functio[n f]unctionName
40 --------- Running test: ----------
41 After highlight: [f]unction[ ][f]unctionName
42 After revert: function functionName
43 After apply: [f]unction[ ][f]unctionName
44 --------- Running test: ----------
45 After highlight: functio[n][ ]functionNam[e]
46 After revert: function functionName
47 After apply: functio[n][ ]functionNam[e]
48 --------- Running test: ----------
49 After highlight: [f]unctio[n f]unctionNam[e]
50 After revert: function functionName
51 After apply: [f]unctio[n f]unctionNam[e]