| Summary: | Syntax Highlighting: Statements with line continuations highlight incorrectly | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | David Bal <ddbal1> |
| Component: | Photran.Editor & Outline View | Assignee: | Photran Inbox <photran-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | CC: | com-eclipse-dot-org, dharenberg, petrenkomaxim |
| Version: | 5.0 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 372912 | ||
| Bug Blocks: | |||
|
Description
David Bal
Thanks for the bug report. The syntax highlighting currently works on one (physical) line at a time, so it's fairly easy to break it by inserting line continuations creatively. We'll keep this on file... eventually we should change it to work in terms of statements (taking line continuations into account) rather than physical lines in the file. I thought we had a bug open for this problem, but I can't find it, so I've adjusted the name of this bug to be a bit more general. Thanks again. *** Bug 319869 has been marked as a duplicate of this bug. *** I thought I had opened a duplicate, but can't find it. Anyway, I don't think continuation lines are that rare, so this should have a higher priority? Maybe to be fixed in 7.0? This has been fixed in Photran 8/Juno. Commit 3d413256d609149729aecad9e4e6c872e0962dfd Closing for 8.0 |