Page 1 of 1

Move current line to center line of window

Posted: Sat Dec 22, 2007 9:00 pm
by AaronNGray
On Brief the middle cursor "5" key used to move the current line to the center line of the window if possible.

This is ideal in macros and general editting so you can keep operations in the center of the window.

Aaron

Posted: Sat Dec 22, 2007 10:43 pm
by jussij
On Brief the middle cursor "5" key used to move the current line to the center line of the window if possible.

Reassigning the "5" key to the MovePageCenter function should do the trick ;)

Cheers Jussi

Posted: Sat Dec 22, 2007 11:27 pm
by AaronNGray
No that just moves the cursor to the middle line of the window. Not the current line to the middle line of the window.

Aaron

Posted: Sun Dec 23, 2007 12:50 am
by jussij
Try the ScrollLinePageCenter function ;)

Cheers Jussi

Posted: Sun Dec 23, 2007 1:18 am
by AaronNGray
Thanks Jussi, that does the job.

Aaron