Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » AbstractEditor and scrolling
AbstractEditor and scrolling [message #15551] Wed, 06 August 2008 12:25
Eclipse UserFriend
Originally posted by: jeremy_prioux.yahoo.fr

Hello,

I'm working on a plugin and I have a scrolling problem in my
AbstractEditor. After a character has been typed, the scrollbar always
goes to the left. And obviously sometimes we don't see the current
typing anymore.

It happends in fact in the method AbstractEditor.updateFoldingStructure,
when I use ProjectAnnotationModel.modifyAnnotations.
updateFoldingStructure is a method called by the
ElementReconcilingStrategy (parser) to provide the regions which can be
collapsed.

I just want to set the editor view to the current cursor position in
overall, how can i do? (Maybe I have to access to the TextViewer, but
how? And is there a problem of UIThread here then?).

If you need more informations, just ask :)

Thanks for you help,

Jeremy P.
Previous Topic:Regarding Extending the Universal Intro
Next Topic:AbstractEditor and scrolling
Goto Forum:
  


Current Time: Tue Jul 15 16:42:24 EDT 2025

Powered by FUDForum. Page generated in 0.15193 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top