Subject:Indentation in editor Author:Simon Westhues Date:11 May 2005 06:32 AM Originally Posted: 11 May 2005 06:29 AM
Hi,
i have a question regarding the editzor component of Stylus Studio.
When i write a XML document, i often indent the tags manually by pressing the tab key.<br>
If i write
<a>
<b>
and press Enter the cursor is positioned below the < of "<b>". I press Enter again, a new line is added and the cursor is still positioned below the < of "<b>". But the line directly under the <b> is empty now. After pressing Enter for the first time, the editor has removed the Tab character.
Why does this happen?
Kind regards
Simon
Subject:Indentation in editor Author:Simon Westhues Date:11 May 2005 06:33 AM
This should look like this, i don't know why the board software removes my newlines when editing a post.
Hi,
i have a question regarding the editzor component of Stylus Studio.
When i write a XML document, i often indent the tags manually by pressing the tab key.<br>
If i write
<a>
<b>
and press Enter the cursor is positioned below the < of "<b>". I press Enter again, a new line is added and the cursor is still positioned below the < of "<b>". But the line directly under the <b> is empty now. After pressing Enter for the first time, the editor has removed the Tab character.
Why does this happen?
Kind regards
Simon
>Hi,
>i have a question regarding
>the editzor component of
>Stylus Studio.
>When i write a XML document, i
>often indent the tags manually
>by pressing the tab
>key.<br>
>If i write
><a>
> <b>
>and press Enter the cursor is
>positioned below the < of
>"<b>". I press Enter
>again, a new line is added and
>the cursor is still positioned
>below the < of "<b>".
>But the line directly under
>the <b> is empty now.
>After pressing Enter for the
>first time, the editor has
>removed the Tab character.
>Why does this happen?
>Kind regards
>Simon
Subject:Indentation in editor Author:(Deleted User) Date:12 May 2005 12:32 PM
Hi Simon,
when you press Enter on a line that is indented, the editor automatically indents the new line; but that space is virtual, as it is not really entered as text. It will be "real" only when you start typing something on that line.
Subject:Indentation in editor Author:(Deleted User) Date:13 May 2005 04:56 AM
Hi Simon,
this is the behaviour that other editors exhibit, so we never thought about allowing the user to change it. I am entering this request in our database for the next major release of Stylus.