Show Ticket

Duplicates of this ticket: 7C8703C3, C8DDB786

Status: open, reported by Brian Donovan on 2006-05-24 (request)

Insert closing tag does not decrease indent

I am using the SVN bundles. When using Insert closing tag to close an HTML tag, it used to decrease the indent of the line, but now it does not. For example:

<p>
  hi there
  [PRESS cmd+opt+.]

Yields this:

<p>
  hi there
  </p>

Used to yield this:

<p>
  hi there
</p>
Note added by Allan Odgaard on 2006-05-24 19:27:58

The functionality changed from built-in to using a command (found in the HTML bundle), and command output is not subject for decrease indent rules.

So I have changed this ticket to a request, as things are working as they should.

Note added by Allan Odgaard on 2006-06-14 23:43:57

Until this gets improved, a workaround would be:

1. Start Macro Recording
2. Insert Closing Tag
3. Indent Line (Text menu)
4. Stop Macro Recording

Now save that macro and use this one instead. It does have the downside that it will always re-indent the current line to the estimated indent, which may sometimes not be correct.