Skip to main content



      Home
Home » Newcomers » Newcomers » How to apply preference changes?
How to apply preference changes? [message #124644] Sun, 18 December 2005 18:10
Eclipse UserFriend
Originally posted by: zzq.hvc.rr.com

I'm writing an editor plugin which has a preference page for colors.

When I change a color preference, it is only reflected in changed or
inserted text, and of course I would like to have the changes reflected in
the document immediately. What approach is generally used to accomplish it?

I assume that one somehow causes the damager to be passed a Document Event
which is equivalent to replacing the whole document with itself and then
causes that range to be sent to the Repairer.

Is there some simple mechanism (from the preference page) that will cause
the whole document to be marked dirty so it is automatic?

If this is the wrong forum for this kind of question, which one would be
more appropriate?

Thanks.
Previous Topic:Where can I download Eclipse Platform API Specification (offline version)
Next Topic:cannot launch CDT 3.0 from eclipe 3.1 on lin Redhat 32
Goto Forum:
  


Current Time: Wed Jul 16 19:57:10 EDT 2025

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

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

Back to the top