Indent as Tabs?
Posted: Fri Oct 29, 2004 1:58 pm
Hi,
i have a problem setting up zeus in a way that it accepts my coding style
When writing code which contents Braces i am in the choice of letting Zeus create the closing
bracet or write it at my own. I always do the latter thing because i simply don't like this
functionality. However, i always have "Smart Indenting" activated so that the cursor stays on
the same line column position when i hit Enter as the previous line begins.
But heres what drives me crazy:
When on this new line i will write the closing bracet i have not simply hit
backspace one time (to jump back one tabstop) but to press backspace as many times because
the area from the beginning of the line till the cursor position has been filled with
whitespaces from zeus. I don't know if this is a feature or a bug.
To show you what i mean, please take a look at the following example:
When pressing enter on the end of Line 2, the cursor will be below the 'd' on Line 3
Now i want to close the bracet by simply pressing Backspace on time and the cursor should
go back below the 'i' of Line 1 - but it simply goes back one character.
Is it possible to set this behavior up anywhere? (Maybe a option like "Indent as Tabs"...)
Another good feature would be if i write a bracet on Line 3 without pressing Backspace or
anything else that the bracet is automaticaly positioned below the 'i' of Line 1
And also another good feature (imho) would be if i press enter at the end of Line 1, that
the cursor jumps automaticaly forward one tab (cursor positioned below the 'x' of Line 1)
I hope that the text above is understoodable, because my english is a very poor.
Thanks,
Egon
i have a problem setting up zeus in a way that it accepts my coding style

When writing code which contents Braces i am in the choice of letting Zeus create the closing
bracet or write it at my own. I always do the latter thing because i simply don't like this
functionality. However, i always have "Smart Indenting" activated so that the cursor stays on
the same line column position when i hit Enter as the previous line begins.
But heres what drives me crazy:
When on this new line i will write the closing bracet i have not simply hit
backspace one time (to jump back one tabstop) but to press backspace as many times because
the area from the beginning of the line till the cursor position has been filled with
whitespaces from zeus. I don't know if this is a feature or a bug.
To show you what i mean, please take a look at the following example:
Code: Select all
if( x == 3 ) { | Line 1
dosomethin(); | Line 2
} | Line 3
Now i want to close the bracet by simply pressing Backspace on time and the cursor should
go back below the 'i' of Line 1 - but it simply goes back one character.
Is it possible to set this behavior up anywhere? (Maybe a option like "Indent as Tabs"...)
Another good feature would be if i write a bracet on Line 3 without pressing Backspace or
anything else that the bracet is automaticaly positioned below the 'i' of Line 1
And also another good feature (imho) would be if i press enter at the end of Line 1, that
the cursor jumps automaticaly forward one tab (cursor positioned below the 'x' of Line 1)
I hope that the text above is understoodable, because my english is a very poor.
Thanks,
Egon