Lines Matching refs:props

138   " Add two text props on lines 1 and 5, and one spanning lines 2 to 4.
188 " Use skipstart to search through all props with type name 'prop_name'.
258 # Multiple props per line, start on the first, should find the second.
293 let props = Get_expected_props()->map({_, v -> extend(v, {'lnum': 1})})
300 call assert_equal(props[2], prop_find({'id': 12, 'type': 'two', 'both': 1}))
301 call assert_equal(props[0], prop_find({'id': 14, 'type': 'whole', 'both': 1}))
316 " Insert a line above, text props must still be there.
319 " Delete a line above, text props must still be there.
381 let props = Get_expected_props()
382 call assert_equal(props, prop_list(1))
386 unlet props[2]
387 call assert_equal(props, prop_list(1))
391 unlet props[1]
392 call assert_equal(props, prop_list(1))
404 let props = Get_expected_props()
405 …call insert(props, #{type_bufnr: 0, col: 6, length: 2, id: 11, type: 'three', start: 1, end: 1}, 3)
406 call assert_equal(props, prop_list(1))
408 unlet props[3]
409 call assert_equal(props, prop_list(1))
466 let props = [
471 call assert_equal(props, prop_list(1, {'bufnr': bufnr}))
474 let before_props = deepcopy(props)
475 unlet props[1]
478 call assert_equal(props, prop_list(1, {'bufnr': bufnr}))
484 call assert_equal(props, prop_list(1, {'bufnr': bufnr}))
486 call assert_equal(props, prop_list(3, {'bufnr': bufnr}))
487 call assert_equal(props, prop_list(4, {'bufnr': bufnr}))
491 call assert_equal(props, prop_list(lnum, {'bufnr': bufnr}))
495 let before_props = deepcopy(props)
496 unlet props[0]
499 call assert_equal(props, prop_list(1, {'bufnr': bufnr}))
505 call assert_equal(props, prop_list(1, {'bufnr': bufnr}))
507 call assert_equal(props, prop_list(3, {'bufnr': bufnr}))
508 call assert_equal(props, prop_list(4, {'bufnr': bufnr}))
512 call assert_equal(props, prop_list(lnum, {'bufnr': bufnr}))
565 " open new line, props stay in top line
573 " move all props to next line
581 " split just before prop, move all props to next line
707 " The props on "two" and "three" move to the next line.
766 " Add short props in line 1 and 5.
1138 " Delete two columns while text props are three chars wide.
1540 " insert "yy" inside the text props to make them longer
1547 " insert "zz" after the text props, text props don't change