[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
htags enhancement request - spaces at the bottom of source html
From: |
Eric Thies |
Subject: |
htags enhancement request - spaces at the bottom of source html |
Date: |
Fri, 10 Sep 2004 09:36:57 -0400 |
User-agent: |
Mutt/1.4.1i |
Thank you for a great product. Very useful!
I've noticed that some links that I click on in the generated HTML don't
show me the requested line number at the top of my browser window, since
they're near the end of the file, and browsers put the last line of the
file at the bottom of the window .
I have hacked src2html.c as to add spaces follows:
> *** src2html.c Thu Sep 9 11:23:40 2004
> --- src2html.c.orig Wed Sep 8 13:14:46 2004
> ***************
> *** 719,725 ****
> if (show_position)
> fprintf(out, "%s[+%d %s]%s", position_begin, last_lineno,
> src, position_end);
> fprintf(out, " */%s\n", comment_end);
> - fprintf(out,
> "<pre>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n</pre>");
> fprintf(out, "%s\n", body_end);
> fprintf(out, "%s\n", html_end);
>
> --- 719,724 ----
>
and it seems to do what I want. Can something like this be added to htags?
Thank you for your consideration.
-e
--
Eric Thies address@hidden
Base Core Supervisor Department
--
- htags enhancement request - spaces at the bottom of source html,
Eric Thies <=