Re: Touch support in Abiword

Carlos Garnacho <[email protected]>
Newsgroups gmane.editors.abiword.devel
Message-ID <1347285846.18776.7.camel@sacarino>
Hey :),

Following up on old topics,

On mar, 2012-07-24 at 11:46 +0000, Martin Edmund Sevior wrote:

> [1] http://git.gnome.org/browse/gtk+/tree/gtk/gtktexthandleprivate.h?h=touch-text-selection
> -----------------------------------------------------------------------------------
> 
> OK this should work quite well with abiword. The code would interact wih src/text/fmt/xp/Fv_View.(h,cpp). With can put the gtk specific code with in src/text/fmt/gtk where we already have code for gtk drang and drop.
> 
> We will need to add code to change the start and end points of text selection but that should be straight forward.
> 
> This will be fun :-)

I've been working on this, and just attached an implementation into:
http://bugzilla.abisource.com/show_bug.cgi?id=13410

On the patch it's been only made to enable selection handles for
touchscreen devices, so it could need some tweaking to test on eg. mice.
Here's a screenshot of the feature with the right theming bits in place:
http://www.lanedo.com/~carlos/abiword-handles.png

Cheers,
  Carlos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.