C# Class Mono.TextEditor.TextViewMargin.VisualLocationTranslator

Show file Open project: powerumc/monodevelop_korean

Public Methods

Method Description
PointToLocation ( double xp, double yp, bool endAtEol = false, bool snapCharacters = false ) : Mono.TextEditor.DocumentLocation
VisualLocationTranslator ( TextViewMargin margin ) : System

Private Methods

Method Description
ConsumeLayout ( int xp, int yp ) : bool
IsNearX1 ( int pos, int x1, int x2 ) : bool

Method Details

PointToLocation() public method

public PointToLocation ( double xp, double yp, bool endAtEol = false, bool snapCharacters = false ) : Mono.TextEditor.DocumentLocation
xp double
yp double
endAtEol bool
snapCharacters bool
return Mono.TextEditor.DocumentLocation

VisualLocationTranslator() public method

public VisualLocationTranslator ( TextViewMargin margin ) : System
margin TextViewMargin
return System