Stop paste from going to the next line

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
AravalliCraton
Posts: 5
Joined: Sat Nov 09, 2019 3:39 am

Stop paste from going to the next line

Post by AravalliCraton »

I'm using Zeus 3.98p with the brief keymap.

When I paste, the cursor goes to the next line. Is there a way to keep the cursor on the same line?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Stop paste from going to the next line

Post by jussij »

Like the original Brief, Zeus has three marking modes, Column, Line and Block.

Each of those marking modes have a corresponding pasting mode which behave differently.

Zeus also has two column marking modes controlled by the Option, Editor Options menu General section, Brief column paste mode option.

Turning on that option makes the Zeus column paste work like the original Brief editor.

Finally when copying marked text, depending on how you perform the marking will determine if the carriage, return line feed gets included in the copied text.

You can help visualise this behaviour by using the View, White Space menu.

So for example using the Alt + M block marking, where the | represents the cursor, the following marked area will not include the CRLF in the copy:

Code: Select all

this is some test|
Whereas this example does include the CRLF in the copy:

Code: Select all

this is some test
|
Now if this information has not helped you are going to need to provide some extra detail on how you are marking and pasting the text.

For example which Brief key strokes are you using the mark and copy the text :?:

Also are you using the Ins numpad key to do the paste :?:

Cheers Jussi
AravalliCraton
Posts: 5
Joined: Sat Nov 09, 2019 3:39 am

Re: Stop paste from going to the next line

Post by AravalliCraton »

Thanks for the explanation, Jussi.

Using Alt+m to mark instead of Alt+a solves my problem.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Stop paste from going to the next line

Post by jussij »

FYI the Alt + a is bound to the column marking mode as it is bound to the MarkColumnToggle keyboard function.

More information on the different marking modes can be found here: viewtopic.php?f=3&t=7764

Cheers Jussi

PS: To determine what key is bound to what function just record a simple keyboard macro and then viewing the source code of the macro all done via the Macros menu.
Post Reply