Problem:
If a singly-quoted string in a shell script ends with a backslash, everything is highlighted as a quote until another single quote is encountered.
Probably cause:
Syntax highlighter is interpreting escaped characters inside of single quotes when it should not.
To reproduce:
Open "test.sh" with geany.
Add the following line to test.sh: echo 'test \' this is bad!
"this is bad!" will be highlighted, but it should not be.
Environment:
OS: Ubuntu 10.04 Server
Geany: 1.22 (built from git on 3/26)
GTK: 2.20.1
Nobody/Anonymous
Filetypes
v1.23
Public
|
Date: 2012-09-01 09:49:37 PDT Looks like Scintilla applied the fix, at least it works for me now :) |
|
Date: 2012-03-29 11:41:34 PDT I didn't realize that the CVS repo was out of date. I went ahead and pulled |
|
Date: 2012-03-27 23:46:29 PDT +1 for figuring it out yourself, +10 for submitting a patch upstream, -1 |
|
Date: 2012-03-27 23:01:40 PDT I tracked down the problem in Scintilla and filed a bug report with an |
| Filename | Description | Download |
|---|---|---|
| Screenshot.png | Picture of the bug in action | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| artifact_group_id | v1.22 | 2012-09-17 14:52:37 PDT | colombanw |
| artifact_group_id | None | 2012-09-17 14:52:30 PDT | colombanw |
| resolution_id | None | 2012-09-01 09:49:37 PDT | colombanw |
| close_date | - | 2012-09-01 09:49:37 PDT | colombanw |
| allow_comments | 1 | 2012-09-01 09:49:37 PDT | colombanw |
| status_id | Open | 2012-09-01 09:49:37 PDT | colombanw |
| File Added | 439625: Screenshot.png | 2012-03-27 21:18:40 PDT | Manbeardo |