Completor.TypeLeft(Int32) 方法

定义

将内部插入符号位置向左移动指定数目的位置。

public:
 void TypeLeft(int len);
public:
 void TypeLeft(int len);
void TypeLeft(int len);
public void TypeLeft (int len);
member this.TypeLeft : int -> unit
Public Sub TypeLeft (len As Integer)

参数

len
Int32

中向左移动的位置数。

注解

此操作等效于键入 cursor 左键。

如果 "左移" 操作会将实际插入符号移动到开始插入符号位置之前,则此方法会从方法) 缓存的文本行中 (检索文本, RefreshLine 并将文本插入到 StringBuilder 包含要插入的字符的对象开头。 然后,此方法更新记住的开始位置以反映新的位置。

不能将内部插入符号位置移动到行的物理开头。

如果宏记录处于活动状态,则会将指定的左移操作添加到宏,而不考虑行的开头。

适用于