View previous topic :: View next topic |
Author |
Message |
rogerh
Joined: 02 Nov 2014 Posts: 46 Location: Longmont, CO
|
Posted: Mon Apr 06, 2015 6:48 pm Post subject: Indent? |
|
|
I see that Plato will automatically indent things like IF and DO but it will not un-indent when END IF or END DO is encountered.
Why not?
Roger |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Mon Apr 06, 2015 9:06 pm Post subject: |
|
|
Basically because Plato does not know what you are about to type.
It is simpler with C++ etc. where you have a single character '}' and Plato can handle this. I suppose Plato could do the un-indent after you finished typing the keyword and I will log this as a possible improvement.
As it is you should press Ctrl+Return to get the un-indent. |
|
Back to top |
|
|
rogerh
Joined: 02 Nov 2014 Posts: 46 Location: Longmont, CO
|
Posted: Mon Apr 06, 2015 9:12 pm Post subject: |
|
|
Thanks Paul.
It's a separate program in TrueBasic but I didn't see any way to do it in Plato
Roger |
|
Back to top |
|
|
|