Silverfrost Forums

Welcome to our forums

Indent?

6 Apr 2015 5:48 #16137

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

6 Apr 2015 8:06 #16138

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.

6 Apr 2015 8:12 #16139

Thanks Paul.

It's a separate program in TrueBasic but I didn't see any way to do it in Plato

Roger

Please login to reply.