Lines Matching defs:hl
329 struct hilite *hl;
332 for (hl = anchor->hl_first; hl != NULL; hl = nexthl)
334 nexthl = hl->hl_next;
335 free((void*)hl);
361 struct hilite *hl;
366 for (hl = hilite_anchor.hl_first; hl != NULL; hl = hl->hl_next)
368 if (hl->hl_endpos > pos &&
369 (epos == NULL_POSITION || epos > hl->hl_startpos))
382 struct hilite *hl;
391 for (hl = filter_anchor.hl_first; hl != NULL; hl = hl->hl_next)
393 if (hl->hl_startpos == pos)
453 add_hilite(anchor, hl)
455 struct hilite *hl;
465 if (ihl->hl_next->hl_startpos > hl->hl_startpos)
474 hl->hl_startpos = MAXPOS(hl->hl_startpos, ihl->hl_endpos);
476 hl->hl_endpos = MINPOS(hl->hl_endpos, ihl->hl_next->hl_startpos);
477 if (hl->hl_startpos >= hl->hl_endpos)
482 free(hl);
485 hl->hl_next = ihl->hl_next;
486 ihl->hl_next = hl;
499 struct hilite *hl;
503 hl = (struct hilite *) ecalloc(1, sizeof(struct hilite));
504 hl->hl_startpos = linepos + chpos[start_index];
518 hl->hl_endpos = linepos + chpos[i-1] + 1;
519 add_hilite(&hilite_anchor, hl);
523 hl = (struct hilite *) ecalloc(1, sizeof(struct hilite));
524 hl->hl_startpos = linepos + chpos[i];
850 struct hilite *hl = (struct hilite *)
852 hl->hl_startpos = linepos;
853 hl->hl_endpos = pos;
854 add_hilite(&filter_anchor, hl);