Language

Selection.MoveRight(ISpannable, Layout) Method

Definition

Move the cursor to the buffer offset physically to the right of the current offset, or return false if the cursor is already at at the right edge of the line and there is not another line to move it to.

[Android.Runtime.Register("moveRight", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")]
public static bool MoveRight(Android.Text.ISpannable? text, Android.Text.Layout? layout);
[<Android.Runtime.Register("moveRight", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")>]
static member MoveRight : Android.Text.ISpannable * Android.Text.Layout -> bool

Parameters

text
ISpannable

The text whose cursor or selection is moved.

layout
Layout

The layout used to find the position visually to the right.

Returns

true if the selection was collapsed or the cursor moved; otherwise, false.

Attributes

Remarks

Move the cursor to the buffer offset physically to the right of the current offset, or return false if the cursor is already at at the right edge of the line and there is not another line to move it to.

Java documentation for android.text.Selection.moveRight(android.text.Spannable, android.text.Layout).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to