Lines Matching refs:new_sel_end
161 int sel_mode, new_sel_start, new_sel_end, spc; in set_selection() local
219 new_sel_end = pe; in set_selection()
233 for (new_sel_end = pe; ; pe += 2) in set_selection()
238 new_sel_end = pe; in set_selection()
245 new_sel_end = pe + vc->vc_size_row in set_selection()
259 if (new_sel_end > new_sel_start && in set_selection()
260 !atedge(new_sel_end, vc->vc_size_row) && in set_selection()
261 isspace(sel_pos(new_sel_end))) { in set_selection()
262 for (pe = new_sel_end + 2; ; pe += 2) in set_selection()
267 new_sel_end = pe; in set_selection()
270 highlight(new_sel_start, new_sel_end); in set_selection()
273 if (new_sel_end == sel_end) /* no action required */ in set_selection()
275 else if (new_sel_end > sel_end) /* extend to right */ in set_selection()
276 highlight(sel_end + 2, new_sel_end); in set_selection()
278 highlight(new_sel_end + 2, sel_end); in set_selection()
280 else if (new_sel_end == sel_end) in set_selection()
290 highlight(new_sel_start, new_sel_end); in set_selection()
293 sel_end = new_sel_end; in set_selection()