1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-06 00:54:21 +03:00
inform7/inter/index-module/Chapter 3/Lexicon Element.w

16 lines
510 B
OpenEdge ABL
Raw Normal View History

2021-06-12 15:08:47 +03:00
[LexiconElement::] Lexicon Element.
To write the Lexicon element (Lx) in the index.
@ =
2021-07-26 15:48:49 +03:00
void LexiconElement::render(OUTPUT_STREAM, index_session *session) {
localisation_dictionary *LD = Indexing::get_localisation(session);
2021-07-09 00:56:01 +03:00
IndexUtilities::anchor(OUT, I"LEXICON");
2021-06-12 15:08:47 +03:00
HTML_OPEN("p");
HTML_OPEN_WITH("span", "class=\"smaller\"");
2021-07-26 02:34:51 +03:00
Localisation::roman(OUT, LD, I"Index.Elements.Lx.Explanation");
2021-06-12 15:08:47 +03:00
HTML_CLOSE("span");
HTML_CLOSE("p");
2021-07-26 15:48:49 +03:00
IndexLexicon::listing(OUT, Indexing::get_lexicon(session), FALSE, LD);
2021-06-12 15:08:47 +03:00
}