EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

LineUp Method

Moves the cursor up a specified number of lines.


document.selection.LineUp( [ bExtend [, nCount ] ] );


document.selection.LineUp [ bExtend [, nCount ] ]



Optional. Specifies whether the moved text is collapsed or not. The default is false and the moved text is collapsed.


Optional. Specifies the number of lines to move up. The default is 1. If negative, the method acts like the LineDown Method. If 0, the method acts like 1.


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.