Searched refs:sel_start (Results 1 – 2 of 2) sorted by relevance
40 static volatile int sel_start = -1; /* cleared by clear_selection */ variable78 if (sel_start != -1) { in clear_selection()79 highlight(sel_start, sel_end); in clear_selection()80 sel_start = -1; in clear_selection()265 if (sel_start == -1) /* no current selection */ in set_selection()267 else if (new_sel_start == sel_start) in set_selection()278 if (new_sel_start < sel_start) /* extend to left */ in set_selection()279 highlight(new_sel_start, sel_start - 2); in set_selection()281 highlight(sel_start, new_sel_start - 2); in set_selection()288 sel_start = new_sel_start; in set_selection()[all …]
25 static int sel_start = -1; variable38 sel_start = -1; in speakup_clear_selection()92 if ((new_sel_start == sel_start) && (new_sel_end == sel_end)) in speakup_set_selection()95 sel_start = new_sel_start; in speakup_set_selection()98 bp = kmalloc((sel_end - sel_start) / 2 + 1, GFP_ATOMIC); in speakup_set_selection()107 for (i = sel_start; i <= sel_end; i += 2) { in speakup_set_selection()