Lines Matching refs:new_sel_end
162 int sel_mode, new_sel_start, new_sel_end, spc; in set_selection() local
220 new_sel_end = pe; in set_selection()
234 for (new_sel_end = pe; ; pe += 2) in set_selection()
239 new_sel_end = pe; in set_selection()
246 new_sel_end = pe + vc->vc_size_row in set_selection()
260 if (new_sel_end > new_sel_start && in set_selection()
261 !atedge(new_sel_end, vc->vc_size_row) && in set_selection()
262 isspace(sel_pos(new_sel_end))) { in set_selection()
263 for (pe = new_sel_end + 2; ; pe += 2) in set_selection()
268 new_sel_end = pe; in set_selection()
271 highlight(new_sel_start, new_sel_end); in set_selection()
274 if (new_sel_end == sel_end) /* no action required */ in set_selection()
276 else if (new_sel_end > sel_end) /* extend to right */ in set_selection()
277 highlight(sel_end + 2, new_sel_end); in set_selection()
279 highlight(new_sel_end + 2, sel_end); in set_selection()
281 else if (new_sel_end == sel_end) in set_selection()
291 highlight(new_sel_start, new_sel_end); in set_selection()
294 sel_end = new_sel_end; in set_selection()