This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123649 - Heredoc unwanted completion on pressing Enter
Summary: Heredoc unwanted completion on pressing Enter
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
: 125554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-07 19:14 UTC by mann
Modified: 2008-05-06 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.IllegalStateException on autocompletion in heredoc (2.35 KB, text/plain)
2007-12-10 10:58 UTC, Andrew Korostelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mann 2007-12-07 19:14:14 UTC
When writing heredoc I write $variable= <<<EOT and then press Enter and editor puts EOT; after what I've written and
repeats then on repeated Enter keystrokes. I have to enter only <<< and write EOT later.
Comment 1 Andrew Korostelev 2007-12-10 10:55:34 UTC
I get exceptions: java.lang.IllegalStateException: Already locked.
(attached)

exception is provoked by org.netbeans.modules.php.editor.FormattingUtils.indentNewLine(FormattingUtils.java:53)
Comment 2 Andrew Korostelev 2007-12-10 10:58:55 UTC
Created attachment 54074 [details]
java.lang.IllegalStateException on autocompletion in heredoc
Comment 3 Andrew Korostelev 2007-12-19 13:39:43 UTC
priority was increased to P2.
exception breaks source code and blocks bracket completion feature
Comment 4 Andrew Korostelev 2008-01-18 14:30:53 UTC
*** Issue 125554 has been marked as a duplicate of this issue. ***
Comment 5 Petr Pisl 2008-03-27 11:42:57 UTC
This functionality is not implemented yet in the new editor.
Comment 6 Tomasz Slota 2008-04-09 09:39:37 UTC
This issue is no longer occurs in the new PHP support implementation (fixed by rewrite)
Comment 7 Victoria Zhukovskaya 2008-05-06 14:14:55 UTC
yes, sorry