summaryrefslogtreecommitdiff
path: root/winhelp.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-12-03 18:01:38 +0000
committerSimon Tatham <anakin@pobox.com>2001-12-03 18:01:38 +0000
commit6a441c51f572bd72f4fba9ee24e2720d72818197 (patch)
tree8dfbb7d4daffe9d754e510a525ca3ad24132ecbf /winhelp.c
parent5a5144c182a3d4436656150225fb9721711a62e4 (diff)
downloadhalibut-6a441c51f572bd72f4fba9ee24e2720d72818197.zip
halibut-6a441c51f572bd72f4fba9ee24e2720d72818197.tar.gz
halibut-6a441c51f572bd72f4fba9ee24e2720d72818197.tar.bz2
halibut-6a441c51f572bd72f4fba9ee24e2720d72818197.tar.xz
More cleanups. In particular I've taken non-breaking spaces and
hyphens off the todo list, because I've found out that NBS is just done using good old \xA0 (Winterhoff's analysis appears wrong) and hyphens are _all_ nonbreaking. Shame, but you can't have everything. [originally from svn r1442]
Diffstat (limited to 'winhelp.c')
-rw-r--r--winhelp.c25
1 files changed, 5 insertions, 20 deletions
diff --git a/winhelp.c b/winhelp.c
index 40f6ce5..36c353e 100644
--- a/winhelp.c
+++ b/winhelp.c
@@ -10,7 +10,6 @@
/*
* Still to do:
*
- * - nonbreaking spaces and hyphens will be needed.
* - tabs, and tab stop settings in the paragraphinfo.
*
* Potential future features:
@@ -48,6 +47,11 @@
* descriptor number in to whlp_set_font. This will also mean
* removing the WHLP_FONT_* enum in winhelp.h.
*
+ * - sort out begin_topic. Ideally we should have a separate
+ * topic_macro function that adds to the existing linkdata for
+ * the topic, because that's more flexible than a variadic
+ * function.
+ *
* - find out what should happen if a single topiclink crosses
* _two_ topicblock boundaries.
*
@@ -1852,25 +1856,6 @@ int main(void)
whlp_text(h, "This third topic is almost as boring as the first. Woo!");
whlp_end_para(h);
-#if 0
- {
- int i;
- for (i = 0; i < count234(h->text); i++) {
- struct topiclink *link = index234(h->text, i);
- FILE *p;
- printf("record type %d\n", link->recordtype);
- printf("linkdata1: %p\n", link->data1);
- p = popen("dump -f", "w");
- fwrite(link->data1, 1, link->len1, p);
- fclose(p);
- printf("linkdata2: %p\n", link->data2);
- p = popen("dump -f", "w");
- fwrite(link->data2, 1, link->len2, p);
- fclose(p);
- }
- }
- #endif
-
/*
* Browse sequence.
*/