[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 53812] New: In info:/libc/ Lines starting '- Function:' not displayed
From: Nigel Rowe <rho () bigpond ! com>
Date: 2003-02-01 10:16:32
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=53812
Summary: In info:/libc/ Lines starting '- Function:' not
displayed
Product: konqueror
Version: unspecified
Platform: Mandrake RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konq-bugs@kde.org
ReportedBy: rho@bigpond.com
Version: (using KDE KDE 3.0.99)
Installed from: Mandrake RPMs
OS: Linux
Trying to use Konqueror to display the libc info pages.
1. Lines starting '- Function:' are not displayed past the ':'.
eg.
- Function: size_t strlen (const char *S)
should be displayed, what is displayed is
- Function:
2. The index pages are unreadable. all lines are printed over the top of each other.
3. Redundant '#' displayed next to the navigation icons
Patch:
--- kde-info2html.orig 2003-01-28 12:24:58.000000000 +1100
+++ kde-info2html 2003-01-30 20:46:33.000000000 +1100
@@ -219,7 +219,7 @@
$MenuLinkTag = $4 || 'Top';
$MenuLinkText = ($2 ? ' ' x (length($2)+1) : '') . "$5\n";
} else {
- $Line = $5;
+ $Line = "$5\n";
if ($Line =~ /( *($TAG)?$TE(.*))$/) {
$MenuLinkTag = $2;
$MenuLinkText = $Line;
@@ -438,7 +438,7 @@
#-- print the HTML Text
print <<EOF;
<a href="info:/$LinkFileEsc/$LinkTag">
-# $LinkTypeText
+ $LinkTypeText
<em>($LinkFile)</em> <strong>$LinkRef</strong>
</a>
EOF
@@ -573,7 +573,8 @@
$prev = $1;
} else {
$prev = $Line;
- $Line =~ s!- (Variable|Function|Macro|Command|Special Form|User Option
):.*$!<em>$1</em>!;
+ # nkr-the $& in the next line is a fix, the <strong> is my preference
+ $Line =~ s!- (Variable|Function|Macro|Command|Special Form|User Option
|Data Type):.*$!<em><strong>$&</strong></em>!;
print $Line;
}
}
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic