1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-29 05:24:57 +03:00
inform7/inter/index-module/Chapter 3/Lexicon Element.w
2021-07-26 13:48:49 +01:00

16 lines
510 B
OpenEdge ABL

[LexiconElement::] Lexicon Element.
To write the Lexicon element (Lx) in the index.
@ =
void LexiconElement::render(OUTPUT_STREAM, index_session *session) {
localisation_dictionary *LD = Indexing::get_localisation(session);
IndexUtilities::anchor(OUT, I"LEXICON");
HTML_OPEN("p");
HTML_OPEN_WITH("span", "class=\"smaller\"");
Localisation::roman(OUT, LD, I"Index.Elements.Lx.Explanation");
HTML_CLOSE("span");
HTML_CLOSE("p");
IndexLexicon::listing(OUT, Indexing::get_lexicon(session), FALSE, LD);
}