Lines Matching refs:new_sel_end
169 int new_sel_start, new_sel_end, spc; in set_selection() local
215 new_sel_end = pe; in set_selection()
229 for (new_sel_end = pe; ; pe += 2) in set_selection()
234 new_sel_end = pe; in set_selection()
241 new_sel_end = pe + vc->vc_size_row in set_selection()
255 if (new_sel_end > new_sel_start && in set_selection()
256 !atedge(new_sel_end, vc->vc_size_row) && in set_selection()
257 isspace(sel_pos(new_sel_end))) { in set_selection()
258 for (pe = new_sel_end + 2; ; pe += 2) in set_selection()
263 new_sel_end = pe; in set_selection()
266 highlight(new_sel_start, new_sel_end); in set_selection()
269 if (new_sel_end == sel_end) /* no action required */ in set_selection()
271 else if (new_sel_end > sel_end) /* extend to right */ in set_selection()
272 highlight(sel_end + 2, new_sel_end); in set_selection()
274 highlight(new_sel_end + 2, sel_end); in set_selection()
276 else if (new_sel_end == sel_end) in set_selection()
286 highlight(new_sel_start, new_sel_end); in set_selection()
289 sel_end = new_sel_end; in set_selection()