Maybe it would be worth to change html_header in such a way that you can specify window_title and page_title separately. web_preview.rb has this functionality yet.
I updated html_header to take 3 arguments, if given, these are then window title, page title, and sub heading.
Great!
Btw: use em-dash (—) in the window title.
OK
-I set the limit of output line to 3000 --The reason why is that if I close the HTML output page (with more than 5000 lines) TM freezes for seconds! It takes roughly a minute! ANY HINTS???
Perhaps it is in releasing the various objects allocated to hold the page.
Could you tell me what line should be changed to remove the limit, I can do a simple profile, and perhaps send the WebKit team some useful benchmark case.
You have two options: 1) Create an environment variable called 'TM_HYPERSEARCH_LIMIT' and set it to whatever. 2) Edit line 29 in 'hyperSearch.pl' ::> $limit = 3000;
[...] As usual feedback is welcomed.
For generating the help, you can use:
"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" <"$TM_BUNDLE_SUPPORT/
help.markdown"
It enumerates your sections and auto-generate the table of contents. You probably want to decrease the heading level for your sections, if you use this (so you don’t start with 1.1).
Yes I know but I have some problems with it. 1) If I type echo "<base href='tm-file://${TM_BUNDLE_SUPPORT// /%20}/help.markdown'>" "$TM_SUPPORT_PATH/lib/markdown_to_help.rb" <"$TM_BUNDLE_SUPPORT/ help.markdown"
the links in Table of Content are broken.
2) If I don't echo <base..> I loose my image but Table of Content works.
3) If the hyperlinks of Table of Content works the actual jump address is hidden under Soryu's nice page header. Try it out, press e.g. at TODO, it jumps to TODO but you can't see the beginning because of the header.
Best,
Hans