Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Selection Object > Methods

EmEditor Macro Reference: CharRight Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

CharRight Method

Moves the cursor the specified number of characters to the right.


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


document.selection.CharRight [ 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 characters to move to the right. The default is 1. If negative, the method acts like the CharLeft Method. If 0, the method acts like 1.


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.