Language

Selection.MoveLeft(ISpannable, Layout) Method

Definition

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

[Android.Runtime.Register("moveLeft", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")]
public static bool MoveLeft(Android.Text.ISpannable? text, Android.Text.Layout? layout);
[<Android.Runtime.Register("moveLeft", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")>]
static member MoveLeft : 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 left.

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 left of the current offset, or return false if the cursor is already at the left edge of the line and there is not another line to move it to.

Java documentation for android.text.Selection.moveLeft(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