Menu

#995 the perl syntax highlighter breaks with two german double quotes

v1.24
closed-fixed
v1.24
5
2013-10-16
2013-09-16
Heiko
No

The perl syntax highlighter doesn't recognize the end of comment, when there are two german double quotes (U+201E DOUBLE LOW-9 QUOTATION MARK and U+201C LEFT DOUBLE QUOTATION MARK) inside the comment.
When there is only one of those quotes it seems to work correctly.
The SciTE 3.3.5 perl lexer also doesn't handle this correctly when the file is encoded as utf-8.
Geany 1.24 git >= 3f27961 compiled 2013-09-16; Windows 7/64
(BTW the Copyright in the about box still reads 2005-2012 - shouldn't it be 2005-2013?)

I think it might be the same as [bugs:#962] and [scintilla:bugs:#1483] but since this time it doesn't seem to break with only one character I opened a new bug.

See attached files scite335_cp1252.pl and scite335_utf8.pl

2 Attachments

Related

Bugs: #962
Scintilla: Bugs: #1483
Scintilla: Bugs: #1528

Discussion

  • Colomban Wendling

    • labels: --> scintilla, lexer, perl
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,10 +4,6 @@
     Geany 1.24 git >= 3f27961 compiled 2013-09-16; Windows 7/64
     (BTW the Copyright in the about box still reads 2005-2012 - shouldn't it be 2005-2013?)
    
    -I *think* it might be the same as
    -http://sourceforge.net/p/geany/bugs/962/
    -and 
    -http://sourceforge.net/p/scintilla/bugs/1483/
    -but since this time it doesn't seem to break with only one character I opened a new bug.
    +I *think* it might be the same as [bugs:#962] and [scintilla:bugs:#1483] but since this time it doesn't seem to break with only one character I opened a new bug.
    
     See attached files scite335_cp1252.pl and scite335_utf8.pl
    
    • status: open --> closed-accepted
    • assigned_to: Colomban Wendling
     
  • Colomban Wendling

    • status: closed-accepted --> open-accepted
     
  • Colomban Wendling

    • labels: scintilla, lexer, perl --> Scintilla, Filetypes, Perl, highlighting
     
  • Colomban Wendling

    • status: open-accepted --> closed-fixed
    • Fixed in: None --> v1.24
     

Log in to post a comment.