| Summary: | error/warning annotations make visible whitespace characters disappear | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Editor | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | grant_gayed |
| Version: | 5.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
Whitespace also vanishes when an error or warning annotation appears on the code, for example in this code:
> foo(function() {
> var x;
> var y;
> })
You'll get a "missing semicolon" warning on the entire foo(..) call. When the warning appears, the whitespace characters disappear.
The comment 0 problem is fixed > 20131202, commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9c4e1ae4e5e0a7ada547c008d0f0ea44124f9f59 . The comment 2 problem is probably an editor issue, so changing report title and reassigning to SSQ. (In reply to Grant Gayed from comment #2) > The comment 2 problem is probably an editor issue, so changing report title > and reassigning to SSQ. The squiggles and the whitespace annotations are both background images. One overrides the other. Squiggles are more important to me, so they win. Maybe we could fix this by changing the contents of the whitespaces spans to some special unicode value (like MIDDLE DOT, RIGHTWARDS DOUBLE ARROW). But this would not work with tab characters as we would loose the browsers tab expansion. I do not see any simple way of fixing this. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |