#520 new

Indentation Lost in Some Circumstances

Reported by Wardrop | May 11th, 2011 @ 07:43 AM

Here's one example. Below I have some XML in a method, all nicely indented.

def dog
  soap.xml = <<-EOS
  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
         <Batch OnError="Continue" ListVersion="0" ViewName="#{view_name}">

If I select the text of this method (include "def dog" and "end") and unindent it using ctrl+[, the indentation on my XML is lost. If I don't select the method definition, selecting on the string, the unindentation works as expected. Note that it's only unindentation that exhibits this problem. Indentation seems to behave correctly in all circumstances.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket