Message148513
| Author |
roger.serwy |
| Recipients |
ned.deily, roger.serwy |
| Date |
2011年11月28日.19:56:56 |
| SpamBayes Score |
7.5903454e-06 |
| Marked as misclassified |
No |
| Message-id |
<1322510218.36.0.927250562508.issue13495@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Two instances of ColorDelegator are in the percolator chain. This is a regression from 2.x.
The problem can be found in __init__ of EditorWindow in EditorWindow.py.
Calling "io.loadfile" eventually calls "filename_change_hook" (See IOBinding.py's "set_filename"). The "filename_change_hook" calls "ResetColorizer" which brings up an instance of ColorDelegator. Then, the self.color reference is overwritten by a new ColorDelegator instance and added to the percolator chain.
The attached patch fixes the problem. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月28日 19:56:58 | roger.serwy | set | recipients:
+ roger.serwy, ned.deily |
| 2011年11月28日 19:56:58 | roger.serwy | set | messageid: <1322510218.36.0.927250562508.issue13495@psf.upfronthosting.co.za> |
| 2011年11月28日 19:56:57 | roger.serwy | link | issue13495 messages |
| 2011年11月28日 19:56:56 | roger.serwy | create |
|