Rudy Lu
unread,Feb 21, 2013, 10:48:59 PM2/21/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to timd...@mozilla.com, Sergi Mansilla, Andreas Gal, dev-...@lists.mozilla.org, Josh Carpenter, Xulei Yuan
Hi all,
As Salva pointed out, the current draft Keyboard WebAPI is documented in
[1].
And we have considered this as one of the new features.
* The VKB app should be able to move the cursor position or select a
specified range of text.
(See
https://wiki.mozilla.org/WebAPI/KeboardIME#Features)
And the function is:
// Set the selection range of the the editable text.
// Note that the start position should be less or equal to the end
position.
// To move the cursor, set the start and end position to the same value.
void setSelectionRange(in long start, in long end);
Please refer to [1] for more details.
-----
Keyboard WebAPI is not ready to make it into Gecko/Gaia code base.
But Xulei has done the implementation and demo of the MozKeyboard API, so
we may leverage his work to do some experiments.
- gecko
checkout the ime branch of
https://github.com/yxl/mozilla-central.git
- gaia
checkout the keyboard-test branch of
https://github.com/yxl/gaia.git
[1]
https://wiki.mozilla.org/WebAPI/KeboardIME
--
Sergi, thanks for the great demo.
Please let me know if you have any questions.
Thank you.
Best regards,
Rudy, Mozilla Taiwan
On Fri, Feb 22, 2013 at 10:20 AM, Tim Chien <
timd...@mozilla.com> wrote:
> Rudy,
>
> Can you tell Sergi here that does our proposed new Keyboard API comes with
> cursor position and selection range?
>
>
> Tim
>
>
> On Fri, Feb 22, 2013 at 8:08 AM, Andreas Gal <
g...@mozilla.com> wrote:
>
> >
> > That is seriously bad ass. Our Taipei team did the WebAPI for the
> > keyboard. Maybe that needs some extra features. Rudy, Tim?
> >
> > Andreas
> >
> > On Feb 21, 2013, at 2:47 PM, Josh Carpenter <
jcarp...@mozilla.com>
> > wrote:
> >
> > > Badass! Nice work, Sergi. This looks like it could be an excellent
> > improvement to our fairly limited v1 input tools. I'd love to have the UX
> > team try it out and evaluate. What's the best way to make that happen?
> > Gordon / Casey, would it be possible to work with Sergi to get his patch
> > loaded onto a device?
> > >
> > > —
> > > Josh Carpenter
> > > UX Designer
> > > Mozilla
> > >
> > > On Feb 21, 2013, at 2:53 AM, Sergi Mansilla <
se...@comoyo.com> wrote:
> > >