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 177142 - [indentation] wrong indentation of multiline strings
Summary: [indentation] wrong indentation of multiline strings
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 16:17 UTC by Filip Zamboj
Modified: 2011-04-12 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-11-18 16:17:22 UTC
a code: 
                <?php 
                echo "ahoj".
                $sf_content.
                "ahoj"; 
                
                ?>

if you press enter after . then the carret jumps to the beginning where it should continue like you were typing a new command. it should be intended in the same way as multi-line expressions are indented after fix . 

Formatting works well.  

                <?php 
                echo "ahoj".
                       $sf_content.
                       "ahoj";
                ?>
Comment 1 Petr Pisl 2011-04-12 14:39:13 UTC
I have fixed this week.