On 02/08/2012 16:41, Michael Drake wrote: > > I've removed the use of render/box.h from most front ends' selection and > clipboard handling. > > This meant stopping the front ends from using selection_traverse(), which > will be removed from the header file, and made static in > desktop/selection.c. > > The Amiga and BeOS front ends remain. > > We need to work out what is required on these platforms so that this can > happen without breaking those builds.
>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 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. François.
