Monday, 13 August 2012

Re: Amiga and BeOS front end selection/clipboard handling

In article <501A9653.7040104@free.fr>,
François Revol <revol@free.fr> wrote:

> From memory this is used to walk the text to collect the font and colors
> to create the text_runs to include in the clipboard:
> http://revolf.free.fr/beos/shots/shot_beos_netsurf_styled_clipboard.png

OK.

I note that the &nbsp; in "web site" is given an abnormally wide space,
both on the web page and in the copied text.

> While it is not really required it's a useful feature I think.
> We could probably come up with an accessor useful for others too.

I've changed it to use selection_copy_to_clipboard(). The font plot style
is now passed out in gui_add_to_clipboard. Can you test that it
builds/works?

Cheers,

--

Michael Drake (tlsa) http://www.netsurf-browser.org/

No comments:

Post a Comment