| Summary: | Hiding left ruler hides problem annotations with offset 0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> | ||||
| Component: | Editor | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P2 | CC: | Silenio_Quarti, steve_northover | ||||
| Version: | 13.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Curtis Windatt
So there are warnings that are only available at the top of the file? Do we know how many of these there are? (In reply to Steve Northover from comment #1) > So there are warnings that are only available at the top of the file? Do we > know how many of these there are? In CSS there are up to 4 that are looking at the whole file and warning about it (too many important, too many font face, approaching selector limit, exceeding selector limit). All of the rules are off by default now. In JS we mostly do project setup for you now, but any warnings about setting up a Tern project file don't have a specific node, so they are placed at the top. Worth noting that the offset should never be 0 if there is whitespace/comments at the top of the file. I fixed JS and CSS to select the first token/identifier. That change has the side effect of reducing this bug's severity as the squiggle underlines are more visible. > In JS we mostly do project setup for you now,
> but any warnings about setting up a Tern project
> file don't have a specific node, so they are placed at the top.
So what would we do about these? First off, find out how many we have. Perhaps we just leave them. There is no underline for them but they appear in the stripe down the right hand side ... or they are nowhere?
(In reply to Steve Northover from comment #3) > > In JS we mostly do project setup for you now, > > but any warnings about setting up a Tern project > > file don't have a specific node, so they are placed at the top. > > So what would we do about these? First off, find out how many we have. > Perhaps we just leave them. There is no underline for them but they appear > in the stripe down the right hand side ... or they are nowhere? Just checked and there are definitely still rules that check various Tern plugins are running. However, because I fixed the code to select the first token rather than use offset 0,0, there is an underline. As I mentioned in my previous comment this bug is less severe because of that change. The right hand ruler always shows the warning with a little strip. Close then? There is always a way to get to a problem? (In reply to Steve Northover from comment #5) > Close then? There is always a way to get to a problem? Closing. When we were discussing the merits of hiding the left hand ruler I mentioned this as an annoying side effect (a warning on the right hand ruler is much harder to notice). You asked me to open this bug for it :) Sorry I am reading the title (which is unclear) and after the bottom line: The guy can get his error. |