just a thought, but how would the editor know when to place the ending command line? after the first line of the if statement, after pressing enter twice, after hitting space 5 times, after jumping in circles around you computer one a pickle while singing Hells Bells?
id' think it would get too annoying really, because not all functions and or if statements are the same, especially if your going for tidy code or if your refining code.
then you have instances where you have several if statements embedded in many other if statements, sometimes it can get complicated, so how would the editor know then when to place the ending?
example:
if something
do this
else
do this
if something
do this
else
do this
if something
goto skip
else
do this
endif
endif
endif
skip:
if an editor had such a feature, i would have it turned off, but thats me
i forget who, but one MOD created a very nice utility that you run it and it automatically cleans up your entire code for yah.
anyway, just my opinion
MOONDOG