| Summary: | TextView can fail to send LineStyle events for newly-rendered lines | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Grant Gayed <grant_gayed> | ||||
| Component: | Editor | Assignee: | Silenio Quarti <Silenio_Quarti> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Silenio_Quarti | ||||
| Version: | 5.0 | ||||||
| Target Milestone: | 5.0 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Grant Gayed
This is a event ordering problem cause by the changes to support the split editor [1]. The problem happens because the "Changed" event for the base text model is sent after the "Changed" event for the projection text model which causes the "LineStyle" event to be sent before the styler has had a chance to update its internal structure (block comments). [1] http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/bundles/org.eclipse.orion.client.editor/web/orion/editor/projectionTextModel.js?id=56efa2a2e4c2c629b660ce37db112de44565f21a Here is the fix: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=56f87f3afeb40dbcba1bd0df8269f25471490998 |