https://bugs.kde.org/show_bug.cgi?id=379298

            Bug ID: 379298
           Summary: Syntax highliting not working properly for perl when
                    using heredoc
           Product: kate
           Version: 17.04.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: zemmoura.kha...@gmail.com
  Target Milestone: ---

Hi,

Consider this perl code:


    $str = << '    EOS';
        this is my string
        and it's continuation
    EOS

$str2 = 'this is the second string';


the syntax highlighting is completely messy for all the code after it

To get it right again i have to get <<EOS>> at the beggining of the line and
suppress the space in the docstring declaration as follow

    $str = << 'EOS';
        this is my string
        and it's continuation
EOS

Thank's for your efforts

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to