[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Non-ASCII characters in wx html help
From: |
Greg Chicares |
Subject: |
Re: [lmi] Non-ASCII characters in wx html help |
Date: |
Mon, 06 Oct 2008 16:10:59 +0000 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
On 2008-10-06 01:50Z, Greg Chicares wrote:
> On 2008-04-23 11:56Z, Vaclav Slavik wrote:
>>
>> Greg Chicares wrote:
>>> > Not currently, but I can [try to] implement it. wxHTML translates
>>> > tabs inside <pre> into series of characters, so it would
>>> > need to be changed to do this later, when rendering (apparently,
>>> > that's what Firefox does).
>>>
>>> I would welcome that change if it turns out to be practicable.
>>
>> Implemented and checked into 2.8 branch (i.e. will be part of 2.8.8):
>> http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=53318
>
> In order to get this feature, I'm thinking of upgrading now to
> wx-2.8.9 .
I'm testing lmi with wx-2.8.9 now. I'm seeing one odd thing when I
copy <pre> text: the first copied line appears not to be terminated.
Displaying 'user_manual_contents.html' in wx html help, I highlight
the <pre> text whose source begins
Gender	UnderwritingClass	IssueAge	Payment	DeathBenefitOption
Female	Preferred	30	sevenpay,7;0	b,7;a
Male	Preferred	35	sevenpay,7;0	b,7;a
and press Ctrl-C to copy. Then the clipboard contains this:
/usr/bin[0]$od </dev/clipboard -t a
0000000 G e n d e r ht U n d e r w r i t
0000020 i n g C l a s s ht I s s u e A g
0000040 e ht P a y m e n t ht D e a t h B
0000060 e n e f i t O p t i o n F e m a
expected 'nl' here ^
0000100 l e ht P r e f e r r e d ht 3 0 ht
0000120 s e v e n p a y , 7 ; 0 ht b , 7
0000140 ; a nl M a l e ht P r e f e r r e
^ this 'nl' is right
This doesn't seem to be crucial: if I write '
' at the end of
the first line, it works:
0000060 e n e f i t O p t i o n nl F e m
here's the desired 'nl' ^
That's the only place where we need to copy from html help to the
clipboard, and I don't mind using this workaround for now. Provided
you can reproduce it, perhaps it could be addressed in wx-2.9.0 .
Testers: this still won't work yet because lmi's census-paste code
expects lines delimited by carriage returns, but I consider that a
design defect that I'll fix in lmi soon.