a->start = text->chars + text->last_line->size;
PUBLIC int HText_beginAnchor ARGS3(	HText *,		text,	BOOL,			underline,	HTChildAnchor *,	anc){    char marker[32];    TextAnchor * a = (TextAnchor *) calloc(1, sizeof(*a));    if (a == NULL)	outofmem(__FILE__, "HText_beginAnchor");    a->hightext  = NULL;    a->hightext2 = NULL;    a->start = text->chars + text->last_line->size;    a->inUnderline = underline;    a->line_num = text->Lines;    a->line_pos = text->last_line->size;    if (text->last_anchor) {	text->last_anchor->next = a;    } else {	text->first_anchor = a;    }    a->next = 0;    a->anchor = anc;    a->extent = 0;    a->link_type = HYPERTEXT_ANCHOR;    text->last_anchor = a;#ifndef DONT_TRACK_INTERNAL_LINKS    if (HTAnchor_followTypedLink((HTAnchor*)anc, LINK_INTERNAL)) {	a->number = ++(text->last_anchor_number);	a->link_type = INTERNAL_LINK_ANCHOR;    } else#endif	if (HTAnchor_followMainLink((HTAnchor*)anc)) {	a->number = ++(text->last_anchor_number);    } else {	a->number = 0;    }    /*     *  If we are doing link_numbering add the link number.     */    if ((a->number > 0) &&	(keypad_mode == LINKS_ARE_NUMBERED ||	 keypad_mode == LINKS_AND_FORM_FIELDS_ARE_NUMBERED)) {	char saved_lastchar = text->LastChar;	int saved_linenum = text->Lines;	sprintf(marker,"[%d]", a->number);	HText_appendText(text, marker);	if (saved_linenum && text->Lines && saved_lastchar != ' ')	    text->LastChar = ']'; /* if marker not after space caused split */	a->start = text->chars + text->last_line->size;	a->line_num = text->Lines;	a->line_pos = text->last_line->size;    }    return(a->number);}