Page 1 of 1

How can I actually disable auto-indent.

Posted: Thu Nov 06, 2014 5:25 pm
by jbrandwood
I want TABs instead of SPACEs at the start of lines.

I have disabled "Tabs as spaces" (actually tried it both ways).

I have disabled everything possible on the Template properties tab.

And yet ... Zeus keeps on mixing TABs and SPACEs at the start of the line,
often with a TAB or 2, followed by SPACEs once it thinks that I'm indenting passed the start of "overhanging" code.

I've tried remapping the Enter key from "EnterSmart" to just "Enter", and while that fixes some other annoyances, this behavior persists.

How can I get Zeus to stop doing this?

Posted: Thu Nov 06, 2014 10:10 pm
by jussij
How can I get Zeus to stop doing this?
Use the Options, Editor Options menu to edit the keyboard mapping and change the setting for the Enter key.

It will be bound to EnterSmart so just bind it to Enter.

Cheers Jussi

Posted: Thu Nov 06, 2014 10:26 pm
by jbrandwood
Thanks, I'm already using "Enter" instead of "EnterSmart" ... so perhaps my problems are with "MarkPasteSmart" ... I'll switch that out next.

Posted: Fri Nov 07, 2014 1:43 am
by jussij
And yet ... Zeus keeps on mixing TABs and SPACEs at the start of the line
I have managed to find a case where the smart paste is not honoring the use tab setting and I think this is the cause of the issue you are seeing.

I will look to fix that issue ;)

Cheers Jussi

Posted: Mon Nov 10, 2014 12:37 am
by jussij
This SmartPaste issue has been fixed in the beta version found here: http://www.zeusedit.com/z300/ze32-beta.zip

With this change the SmartPaste will pad the lines based on the setting of the Tabs as spaces option found in the document type.

Cheers Jussi