Class MultiCaretPosition
- Namespace
- Lime
- Assembly
- Lime.dll
public class MultiCaretPosition : ICaretPosition
- Inheritance
-
MultiCaretPosition
- Implements
-
- Inherited Members
-
Properties
Col
public int Col { get; set; }
Property Value
- int
IsValid
public bool IsValid { get; }
Property Value
- bool
IsVisible
public bool IsVisible { get; set; }
Property Value
- bool
Line
public int Line { get; set; }
Property Value
- int
TextPos
public int TextPos { get; set; }
Property Value
- int
WorldPos
public Vector2 WorldPos { get; set; }
Property Value
- Vector2
Methods
Add(ICaretPosition)
public void Add(ICaretPosition c)
Parameters
c
ICaretPosition
AssignFrom(ICaretPosition)
public void AssignFrom(ICaretPosition c)
Parameters
c
ICaretPosition
ClampCol(int)
public void ClampCol(int maxCol)
Parameters
maxCol
int
ClampLine(int)
public void ClampLine(int lineCount)
Parameters
lineCount
int
ClampTextPos(int)
public void ClampTextPos(int textLength)
Parameters
textLength
int
Clone()
public ICaretPosition Clone()
Returns
- ICaretPosition
EmptyText(Vector2)
public void EmptyText(Vector2 pos)
Parameters
pos
Vector2
FinishSync()
InvalidatePreservingTextPos()
public void InvalidatePreservingTextPos()
NextLine()
StartSync()
Sync(int, Vector2, Vector2)
public void Sync(int index, Vector2 charPos, Vector2 size)
Parameters
index
int
charPos
Vector2
size
Vector2