diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-10-14 01:54:14 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-10-14 01:54:14 +0200 |
| commit | 8b54d2c31410fcac43c8903007fe0738312834b0 (patch) | |
| tree | 4d7e0291aa940d5f16d4d611b7315532907730c4 /TODO | |
| parent | 72968dd6c3fbedab848625af86f34be3d537c7b5 (diff) | |
help topics no longer need to be unique and can be toggled through with the `?$` command.
* This mirrors how the `FT$` command toggles through several results.
* Some non-unique .SCITECO_TOPICs have been added to sciteco(1) and sciteco(7).
* This works by inserting non-unique keys into the help topic RB tree - or rather
by turning filename:pos also into keys since rb3ptr does not allow non-unique keys.
When searching for a topic, we sort lower than any other entry with the same name.
This way we can easily iterate all entries with the same name (search topic).
The alternative would have been to maintain a linked list in each and every
teco_help_topic_t.
* teco_rb3str_auto_complete() now filters out possible duplicate keys.
* Updated test case: check for non-unique topic names.
Diffstat (limited to 'TODO')
| -rw-r--r-- | TODO | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1018,11 +1018,7 @@ Optimizations: Documentation: * Doxygen docs could be deployed on Github pages automatically. - * The ? command could be extended to support looking - up help terms at dot in the current document (e.g. if called as .?$ - similar to .FT$). - `?$` could also toggle through all results just like `FT$`. - Furthermore, womanpages could contain "hypertext" links + * Womanpages could contain "hypertext" links to help topics using special Troff markup and grosciteco support. * The command reference should include an overview. * Command reference is poorly formatted. |
