AbstractEditor and scrolling [message #575663] |
Wed, 06 August 2008 16:25 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03272 seconds