Community
Participate
Working Groups
Build Identifier: 20100917-0705 CTRL+ALT+Up/Down (shortcut for copying line) while in HereDoc syntax block causes the editor to behave abnormally Reproducible: Always Steps to Reproduce: 1.Press CTRL+ALT+Up/Down (on a non empty line) while inside HereDoc block 2. 3.
I remember someone contributed a patch and I applied it,and now I could not reproduce it,please try the latest nightly build,if you can reproduce it again,please reopen it,thanks!
Created attachment 200341 [details] Ctrl+Alt+Down/up in HEREDOC body breaks syntax coloring of next php code
Still reproducible on Linux (Ubuntu). Correct behavior on Win. Preconditions: Make sure keyboard shortcuts for CTRL+ALT+DOWN and CTRL+ALT+UP are disabled and the machine has been restarted afterwards. It can be done through: System->Preferences->Keyboard Shortcuts Example php code: <?php $tt =<<<HEREDOC test| // | is the cursor position HEREDOC; class class_name { function function_name() { ; } } interface II { } Press CTRL+ALT+DOWN / CTRL+ALT+UP Actual: The whole code following HEREDOC block will be colored in blue. Press again CTRL+ALT+DOWN / CTRL+ALT+UP: Result: The code will be correctly colored. Press for third time CTRL+ALT+DOWN / CTRL+ALT+UP: Result: The syntax coloring will be broken again. Whole code become blue. I will reopen the issue.
fixed
Will be retested when the next build is up.
Verified, not reproducible.