Searched refs:sel_end (Results 1 – 1 of 1) sorted by relevance
41 static int sel_end; variable72 highlight(sel_start, sel_end); in clear_selection()233 if (new_sel_end == sel_end) /* no action required */ in set_selection()235 else if (new_sel_end > sel_end) /* extend to right */ in set_selection()236 highlight(sel_end + 2, new_sel_end); in set_selection()238 highlight(new_sel_end + 2, sel_end); in set_selection()240 else if (new_sel_end == sel_end) in set_selection()253 sel_end = new_sel_end; in set_selection()256 bp = kmalloc((sel_end-sel_start)/2+1, GFP_KERNEL); in set_selection()267 for (i = sel_start; i <= sel_end; i += 2) { in set_selection()