How to apply preference changes? [message #124644] |
Sun, 18 December 2005 18:10 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.08426 seconds