Another Indentation Bug

Bug #587959 reported by Chris Van Dusen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
Fix Committed
Medium
Unassigned

Bug Description

I got another error when trying to indent in a file with mixed HTML and PHP.

The file was newly opened, and I entered <?php on line 33 of the attached PHP file. When I pressed TAB on that line I got the error as described in the attached backtrace.

Hope this helps,
Chris.

Revision history for this message
Chris Van Dusen (chris0123456789) wrote :
Revision history for this message
Chris Van Dusen (chris0123456789) wrote :

Looks like the backtrace didn't attch. Attaching it now.

Revision history for this message
Chris Van Dusen (chris0123456789) wrote :

Oops. I attached the wrong PHP file.

Also, a correction to the steps to get the error. After entering <?php on line 33, I pressed RET then TAB.

Sorry for the confusion.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks Chris.

Is line 33 the blank line above the line below?

   <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>

When I press TAB there the line gets indented as expected. Could you please try the latest nXhtml beta 2.09 and see if it works for you?

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Chris Van Dusen (chris0123456789) wrote :

Lennart,

I am currently out of the country, but will try this when I returned.

Thanks,
Chris.

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi Chris, thanks, hope your journey is fine. Please test when you are back.

Revision history for this message
Chris Van Dusen (chris0123456789) wrote :

Lennart,

Sorry for the long delay. I tried this and it works now.

Thanks,
Chris.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks. Then I mark this one as done.

Changed in nxhtml:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.