Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [GEF4] Editor is set dirty on scroll operation. Can this be filtered?
[GEF4] Editor is set dirty on scroll operation. Can this be filtered? [message #1716609] Sun, 06 December 2015 10:05 Go to next message
Frank Benoit is currently offline Frank BenoitFriend
Messages: 135
Registered: July 2009
Senior Member
Hi

When using the Eclipse AbstractFXEditor

The setDirty(true) is called from a listener, added to the OperationHistory.

But I would like to have the document not being set dirty on scrolling or other view port operations. I want to have this only on operations really changing the model.

Does a solution for this exist?

Thanks Frank

Re: [GEF4] Editor is set dirty on scroll operation. Can this be filtered? [message #1716712 is a reply to message #1716609] Mon, 07 December 2015 16:45 Go to previous messageGo to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 235
Registered: July 2009
Location: L√ľnen
Senior Member
We should definitely add a means to decide wether an operation is content-related or not (which would be the indication here). We could extend TransactionalOperation to this extend. Can you please create a bugzilla for this.
Re: [GEF4] Editor is set dirty on scroll operation. Can this be filtered? [message #1718695 is a reply to message #1716609] Tue, 29 December 2015 10:35 Go to previous message
Victor Hiairrassary is currently offline Victor HiairrassaryFriend
Messages: 7
Registered: December 2015
Junior Member
Link to the bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=483891
Previous Topic:No scrollbar appears
Next Topic:[Zest] UnsupportedPerationException while multi selection
Goto Forum:
  


Current Time: Wed Sep 26 08:27:46 GMT 2018

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

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

Back to the top