Menu

#3 Electric XML - auto indentation

closed
nobody
None
5
2002-06-25
2002-06-18
John Keyes
No

If I type the following into J:

<mytag>
<inner>
Some text

and then on the next line type "</" J does correctly close
the element. It would be really cool if it also
indented the
element. If I press TAB J indents it correctly. So it
only
a case of calling the same method that the keylistener
does.

Discussion

  • John Keyes

    John Keyes - 2002-06-18

    Logged In: YES
    user_id=107711

    The example text has had the indentation removed. I will
    try some
    HTML to show the example.

    <pre>
    <mytag>
    <inner>
    Some text
    </pre>

     
  • Peter Graves

    Peter Graves - 2002-06-18

    Logged In: YES
    user_id=558172

    Done.

     
  • Peter Graves

    Peter Graves - 2002-06-18
    • status: open --> closed
     
  • Peter Graves

    Peter Graves - 2002-06-25
    • labels: 430470 -->
    • milestone: 212006 -->
    • status: closed --> open
     
  • Peter Graves

    Peter Graves - 2002-06-25
    • status: open --> closed