Bug 344276 - php nowdoc not folded correctly
Summary: php nowdoc not folded correctly
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: folding (other bugs)
Version First Reported In: 16.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 15:27 UTC by Nikola Kovacs
Modified: 2016-09-05 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
example php file (74 bytes, application/x-php)
2015-02-17 15:27 UTC, Nikola Kovacs
Details

Note You need to log in before you can comment on or make changes to this bug.
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