top = curbuf->b_visual.vi_end;
bot = curbuf->b_visual.vi_start;
}
- // a substitue command may have
- // removed some lines
+ // a substitute command may have removed some lines
if (bot.lnum > curbuf->b_ml.ml_line_count)
bot.lnum = curbuf->b_ml.ml_line_count;
mode = curbuf->b_visual.vi_mode;
unmap x
bwipe!
- " 'langnoremap' follows 'langremap' and vise versa
+ " 'langnoremap' follows 'langremap' and vice versa
set langremap
set langnoremap
call assert_equal(0, &langremap)
call assert_equal(["ABCD", "", "defg"], getline(1,3))
endfunc
-" test that g~, ~ and gU correclty upper-cases ß
+" test that g~, ~ and gU correctly upper-cases ß
func Test_uppercase_sharp_ss()
new
call setline(1, repeat(['ß'], 4))
END
v9.CheckSourceFailure(lines, "E488: Trailing characters: | echo 'done'", 3)
- # Use old "this." prefixed member variable declaration syntax (without intialization)
+ # Use old "this." prefixed member variable declaration syntax (without initialization)
lines =<< trim END
vim9script
class Something
END
v9.CheckSourceFailure(lines, 'E1318: Not a valid command in a class: this.count: number', 3)
- # Use old "this." prefixed member variable declaration syntax (with intialization)
+ # Use old "this." prefixed member variable declaration syntax (with initialization)
lines =<< trim END
vim9script
class Something
END
v9.CheckScriptFailure(lines, 'E1407: Cannot use a Typealias as a variable or value', 1)
- # check defered function using typealias as arg
+ # check deferred function using typealias as arg
lines =<< trim END
vim9script
type A = number
END
v9.CheckScriptFailure(lines, 'E1405: Class "C" cannot be used as a value', 1)
- # check defered function using class typealias as arg
+ # check deferred function using class typealias as arg
lines =<< trim END
vim9script
class C
" Test for changing case
func Test_visual_change_case()
new
- " gUe must uppercase a whole word, also when ß changes to SS
+ " gUe must uppercase a whole word, also when ß changes to ẞ
exe "normal Gothe youtußeuu end\<Esc>Ypk0wgUe\r"
" gUfx must uppercase until x, inclusive.
exe "normal O- youßtußexu -\<Esc>0fogUfx\r"
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 105,
/**/
104,
/**/