Cursoring through tabs

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
Zonn

Cursoring through tabs

Post by Zonn »

I'm attempting to use Zeus in place of the last version of Codewright that I've used for years, and before that BRIEF.

The reason I purchased Zeus is because it is so compatible with these programs.

However I have a (hopefully) simple problem:

I use real tabs and when I cursor over a tab, the cursor jumps to the end of the tab location.

In BRIEF and in Codewright both, you were able to place the cursor anywhere in a line, regardless of whether there was a tab there or not.

The problem with the current behavior of Zeus is that if I would like to cursor down two lines to edit a character that's at the same column as the cursor, and I pass through a tab character, the cursor will jump to new column and then remain at the new column. It's impossible to simply cursor down to a position without having to correct a seemingly random jump (depending upon your tabs settings, and which column you were on). This really slows down my editing, and is the last obstacle in making the "Final Leap" to Zeus.

Even if I am unable to cursor over the "empty" areas of a tab, if I can at least have Zeus remember the column I started at, it would be fine.

Is there a option somewhere that I've missed? I searched forum and was unable to find anything.

Thanks!

-Zonn
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Is there a option somewhere that I've missed?
Unfortunately there is no such option. As you have found out, Zeus repostions the cursor if the it lands in the middle of a tab character :(

Cheers Jussi
Zonn

Post by Zonn »

jussij wrote:
Is there a option somewhere that I've missed?
Unfortunately there is no such option. As you have found out, Zeus repostions the cursor if the it lands in the middle of a tab character :(

Cheers Jussi
I don't mind so much, the cursor jumping around inside tabs, but is there anyway to remember its column position once it leaves the tab?

For instance the editor used in this forum allows you to cursor up and down. If the line is shorter than the current column, the cursor jumps to the end of the line, however when you continue to the next line, it jumps back to the current column position. If tabs could be treated the same way, that would be fine.

Is there some sort of script that could accomplish this?

-Zonn
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Is there some sort of script that could accomplish this?
Unfortunately I don't thisk so :(

But I will add this feature to the next Zeus release ;)

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The latest Zeus patch adds the MoveLineDownEx and MoveLineUpEx keyboard functions that implement this feature request.

The patch can be found here: http://www.zeusedit.com/forum/viewtopic.php?p=2870

Cheers Jussi
Post Reply