Lines Matching refs:curbuf
182 curbuf, &argvars[2]); in f_prop_add()
317 buf_T *buf = curbuf; in f_prop_add_list()
495 int proplen = get_text_props(curbuf, lnum, &props, 0); in count_props()
564 if (curbuf->b_ml.ml_flags & ML_LINE_DIRTY) in set_text_props()
565 vim_free(curbuf->b_ml.ml_line_ptr); in set_text_props()
566 curbuf->b_ml.ml_line_ptr = newtext; in set_text_props()
567 curbuf->b_ml.ml_line_len = textlen + len; in set_text_props()
568 curbuf->b_ml.ml_flags |= ML_LINE_DIRTY; in set_text_props()
652 buf_T *buf = curbuf; in f_prop_clear()
716 buf_T *buf = curbuf; in f_prop_find()
906 buf_T *buf = curbuf; in f_prop_list()
960 buf_T *buf = curbuf; in f_prop_remove()
1443 proptype_T *pt = text_prop_type_by_id(curbuf, prop->tp_type); in adjust_prop()
1519 proplen = get_text_props(curbuf, lnum, &props, TRUE); in adjust_prop_columns()
1522 textlen = curbuf->b_ml.ml_line_len - proplen * sizeof(textprop_T); in adjust_prop_columns()
1541 if (curbuf->b_ml.ml_line_lnum != lnum) in adjust_prop_columns()
1542 proplen = get_text_props(curbuf, lnum, &props, TRUE); in adjust_prop_columns()
1553 if ((curbuf->b_ml.ml_flags & ML_LINE_DIRTY) == 0) in adjust_prop_columns()
1554 curbuf->b_ml.ml_line_ptr = in adjust_prop_columns()
1555 vim_memsave(curbuf->b_ml.ml_line_ptr, newlen); in adjust_prop_columns()
1556 curbuf->b_ml.ml_flags |= ML_LINE_DIRTY; in adjust_prop_columns()
1557 curbuf->b_ml.ml_line_len = newlen; in adjust_prop_columns()
1583 if (!curbuf->b_has_textprop) in adjust_props_for_split()
1587 count = get_text_props(curbuf, lnum_props, &props, FALSE); in adjust_props_for_split()
1604 pt = text_prop_type_by_id(curbuf, prop.tp_type); in adjust_props_for_split()
1663 int proplen = get_text_props(curbuf, lnum, &props, FALSE); in prepend_joined_props()