Menu

Syntax highlighting, PHP, multiline strings

2014-07-02
2014-07-03
  • Carlo Borreo

    Carlo Borreo - 2014-07-02

    I use PHP, and sometimes I have multiline strings:

    $EmailText = "Dear Friend,
    I invite you to my " . $Age . "th birthday.
    See you then
    Carlo" ;

    When I do that, subsequent syntax is messed up.
    What is the best thing to do? Should I open a ticket? Or can you guide me in making the change and submitting for inclusion in next version (which is more of a pain but might be good in the long run for further changes)?

     
  • Loreia2

    Loreia2 - 2014-07-02

    Hi Carlo,

    can you attach a screen shot of the problem?
    Also, can you try to reproduce the problem with Scite editor?
    http://www.scintilla.org/SciTEDownload.html

    Regards,
    Loreia

     
  • Carlo Borreo

    Carlo Borreo - 2014-07-02

    Dear Loreia, I attach a file that reproduces the issue.
    I tried it on Sc1 Version 3.4.3 May 26 2014 12:01:40, the problem does not appear.

     
  • Carlo Borreo

    Carlo Borreo - 2014-07-02

    Here is a screenshot taken with both editors open.
    Just open the file and scroll to the bottom.

     
  • Loreia2

    Loreia2 - 2014-07-03

    Hi Carlo,

    I can't reproduce the problem. Can you download Notepad++ ZIP version, and try there? This could be some plugin issue or a configuration problem.

    In case it is a plugin issue, try to rename "plugins" subfolder (in AppData on Vista and newer, in Program files\Notepad++ on XP), and then bring back plugin dlls one by one, restarting and retesting each time.

    Regards,
    Loreia