[Cuis-dev] Erudite Help file system for Cuis -> Can it read Docbook files? PetitParser version?

H. Hirzel hannes.hirzel at gmail.com
Thu Mar 13 14:51:48 PDT 2025


On 13/03/2025 10:22 pm, Mariano Montone wrote:

> El 13/3/25 a las 17:58, H. Hirzel escribió:
>>
>> *Program listing code can not be selected and copied.*
>>
>> The Docbook XML snippet
>>
>> <programlisting>
>> pandoc -f markdown -t docbook MyDocBookTest1.md -o MyDocBookTest1.xml
>> </programlisting>
>>
>> is rendered in a way that the code content can not be used without 
>> retyping it.
>>
> Actually, it can be copied. It is visual effect problem, the selection 
> highlighting not taking precedence over the text background color. If 
> you make the selection gesture with the mouse, then right click and 
> copy, it works.
I also tried it and it works indeed. However without proper visual 
feedback it feels broken and gives the impression that it does not work.
>>
>> 1. A first solution would be to just set the attribute that the text 
>> an be selected.
>>
>> 2. A better solution would be to have a 'copy' button which copies 
>> the content to the clipboard.
>>
> I've added this button.
>
Thank you. The button works fine. This is a great addition! 
https://github.com/Cuis-Smalltalk/Erudite/commit/a8d333ca4cc949ef976b5914ce61abc23bcb8d2e

--Hannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250313/ec5ef8ec/attachment-0001.htm>


More information about the Cuis-dev mailing list