Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Getting the cursor offset when there is a click.

Thanks a lot for the help. I'll look into this

On Wed, Jun 8, 2016 at 9:25 PM, Florent Benoit <fbenoit@xxxxxxxxxxx> wrote:

On Tue, Jun 7, 2016 at 8:11 PM, Randika Navagamuwa <randika.12@xxxxxxxxxxxxx> wrote:
Hi all,
 I am trying to add multi cursor feature for eclipse che as my GSOC project and I managed to do some changes to my mentor's plugin[1]. This plugin enables the pair programming on eclipse che. Here DocumentReadyHandler() is used to get notified when there is character addition or a removal. I managed to add multiple cursors to the editor using annotations and used addMarker()  method to add the annotations. Now I'm having following problems.
  • How to get the cursor offset when there is a click on the editor. Now this get notified only when there is a character change.
  • What is the best way to remove an added marker? 

Thanks and regards,
Randika

--
Best Regards
Randika Navagamuwa,
Department of Computer Science & Engineering,
University of Moratuwa,
Sri Lanka.

_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev




--
Regards
Randika Navagamuwa,
Department of Computer Science & Engineering,
University of Moratuwa,
Sri Lanka.

Back to the top