Bug 344276

Summary: php nowdoc not folded correctly
Product: [Applications] kate Reporter: Nikola Kovacs <nx.devnull>
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ilmari.lauhakangas
Priority: NOR    
Version First Reported In: 16.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example php file

Description Nikola Kovacs 2015-02-17 15:27:37 UTC
Created attachment 91131 [details]
example php file

When using the nowdoc syntax (http://php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc, <<<'EOT'), kate can't find the ending EOT identifier (note that the ending identifier is not single quoted), and folds the rest of the file.
Comment 1 Buovjaga 2016-06-24 11:14:57 UTC
Confirmed folding behavior.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.6.1
xcb wm
Comment 2 Christoph Cullmann 2016-09-05 13:26:19 UTC
Git commit 7a5972b558eb9b6d2cf960eb57de1cccd8578ca4 by Christoph Cullmann.
Committed on 05/09/2016 at 13:25.
Pushed by cullmann into branch 'master'.

Bug 344276 - php nowdoc not folded correctly

fix Heredoc => Nowdoc

M  +6    -6    src/syntax/data/php.xml

http://commits.kde.org/ktexteditor/7a5972b558eb9b6d2cf960eb57de1cccd8578ca4