C# 클래스 Mono.TextEditor.TextViewMargin

상속: Mono.TextEditor.Margin
파일 보기 프로젝트 열기: powerumc/monodevelop_korean 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EmptyRectangle Gdk.Rectangle
GetLink string>.Func

Private Properties

프로퍼티 타입 설명
CalculateClickLocation bool
CancelCodeSegmentTooltip void
DecorateTabsAndSpaces void
DimColor Cairo.Color
DimColor Cairo.Color
DisposeGCs void
DisposeLayoutDict void
DisposeSearchPatternWorker void
DrawEolMarker void
DrawIndent void
DrawLinePart void
DrawScrollShadow void
GetCachedChunks List
GetCaretChar char
GetEolMarkerIndex int
GetFirstSearchResult TextSegment
GetFoldRectangles FoldSegment>>.IEnumerable
GetPixel ulong
GetPixel ulong
GetSelectionOffsets void
GetVirtualSpaceLayout LayoutWrapper
HandleFocusInEvent void
HandleFocusOutEvent void
HandleSearchChanged void
HandleSelection void
HandleTextReplaced void
HandleVAdjustmentValueChanged void
InnerDecorateTabsAndSpaces void
InternalHandleSelection void
IsInsideSelection bool
OnCaretBlink void
OnLineShown void
OpenCodeSegmentEditor void
ScanWord int
SearchPatternWorkerDoWork void
SetVisibleCaretPosition void
ShowTooltip void
StopCaretThread void
TextEditorDocumentLineChanged void
TextEditor_HighlightSearchPatternChanged void
UpdateCaret bool
UpdateRegions void

공개 메소드들

메소드 설명
ClearSearchMaker ( ) : void
ColumnToX ( Mono.TextEditor.DocumentLine line, int column ) : double
CreateLinePartLayout ( ISyntaxMode mode, Mono.TextEditor.DocumentLine line, int offset, int length, int selectionStart, int selectionEnd ) : LayoutWrapper
CreateLinePartLayout ( ISyntaxMode mode, Mono.TextEditor.DocumentLine line, int logicalRulerColumn, int offset, int length, int selectionStart, int selectionEnd ) : LayoutWrapper
Dispose ( ) : void
DrawCaret ( Gdk win, Gdk rect ) : void
DrawCaretLineMarker ( Cairo cr, double xPos, double y, double width, double lineHeight ) : void
DrawRectangleWithRuler ( Cairo cr, double x, Cairo area, Cairo color, bool drawDefaultBackground ) : void
ForceInvalidateLine ( int lineNr ) : void
GetLayout ( Mono.TextEditor.DocumentLine line ) : LayoutWrapper
GetLineHeight ( Mono.TextEditor.DocumentLine line ) : double
GetLineHeight ( int logicalLineNumber ) : double
GetNextTabstop ( TextEditorData textEditor, int currentColumn ) : int
GetNextTabstop ( TextEditorData textEditor, int currentColumn, int tabSize ) : int
GetWidth ( string text ) : int
HideCodeSegmentPreviewWindow ( ) : void
LineToY ( int logicalLine ) : double
LocationToPoint ( Mono.TextEditor.DocumentLocation loc ) : Cairo.Point
LocationToPoint ( Mono.TextEditor.DocumentLocation loc, bool useAbsoluteCoordinates ) : Cairo.Point
LocationToPoint ( int line, int column ) : Cairo.Point
LocationToPoint ( int line, int column, bool useAbsoluteCoordinates ) : Cairo.Point
PointToLocation ( Cairo p, bool endAtEol = false, bool snapCharacters = false ) : Mono.TextEditor.DocumentLocation
PointToLocation ( double xp, double yp, bool endAtEol = false, bool snapCharacters = false ) : Mono.TextEditor.DocumentLocation
PurgeLayoutCache ( ) : void
RefreshSearchMarker ( ) : void
RemoveCachedLine ( Mono.TextEditor.DocumentLine line ) : void
ResetCaretBlink ( uint delay ) : void
RoundedRectangle ( Cairo cr, double x, double y, double w, double h, double r, CairoCorners corners, bool topBottomFallsThrough ) : void
TextViewMargin ( MonoTextEditor textEditor ) : System
TranslateIndexToUTF8 ( string text, int index ) : int
TranslateToUTF8Index ( char charArray, uint textIndex, uint &curIndex, uint &byteIndex ) : uint
YToLine ( double yPos ) : int

보호된 메소드들

메소드 설명
Draw ( Cairo cr, Cairo area, Mono.TextEditor.DocumentLine line, int lineNr, double x, double y, double _lineHeight ) : void
MouseHover ( Mono.TextEditor.MarginMouseEventArgs args ) : void
MouseLeft ( ) : void
MousePressed ( Mono.TextEditor.MarginMouseEventArgs args ) : void
MouseReleased ( Mono.TextEditor.MarginMouseEventArgs args ) : void
OnHoveredLineChanged ( Mono.TextEditor.LineEventArgs e ) : void
OnMainSearchResultChanged ( EventArgs e ) : void
OnSearchRegionsUpdated ( EventArgs e ) : void
OptionsChanged ( ) : void

비공개 메소드들

메소드 설명
CalculateClickLocation ( double x, double y, Mono.TextEditor.DocumentLocation &clickLocation ) : bool
CancelCodeSegmentTooltip ( ) : void
DecorateTabsAndSpaces ( Cairo ctx, LayoutWrapper layout, int offset, double x, double y, int selectionStart, int selectionEnd ) : void
DimColor ( Cairo color ) : Cairo.Color
DimColor ( Cairo color, double dimFactor ) : Cairo.Color
DisposeGCs ( ) : void
DisposeLayoutDict ( ) : void
DisposeSearchPatternWorker ( ) : void
DrawEolMarker ( Cairo cr, Mono.TextEditor.DocumentLine line, bool selected, double x, double y ) : void
DrawIndent ( Cairo cr, LayoutWrapper layout, Mono.TextEditor.DocumentLine line, double xPos, double y ) : void
DrawLinePart ( Cairo cr, Mono.TextEditor.DocumentLine line, int lineNumber, int logicalRulerColumn, int offset, int length, double &position, bool &isSelectionDrawn, double y, double maxX, double _lineHeight ) : void
DrawScrollShadow ( Cairo cr, double x, double y, double _lineHeight ) : void
GetCachedChunks ( ISyntaxMode mode, TextDocument doc, Mono style, Mono.TextEditor.DocumentLine line, int offset, int length ) : List
GetCaretChar ( ) : char
GetEolMarkerIndex ( UnicodeNewline ch ) : int
GetFirstSearchResult ( int startOffset, int endOffset ) : TextSegment
GetFoldRectangles ( int lineNr ) : FoldSegment>>.IEnumerable
GetPixel ( Cairo color ) : ulong
GetPixel ( Color color ) : ulong
GetSelectionOffsets ( Mono.TextEditor.DocumentLine line, int &selectionStart, int &selectionEnd ) : void
GetVirtualSpaceLayout ( Mono.TextEditor.DocumentLine line, Mono.TextEditor.DocumentLocation location ) : LayoutWrapper
HandleFocusInEvent ( object o, Gtk.FocusInEventArgs args ) : void
HandleFocusOutEvent ( object o, Gtk.FocusOutEventArgs args ) : void
HandleSearchChanged ( object sender, EventArgs args ) : void
HandleSelection ( int lineOffset, int logicalRulerColumn, int selectionStart, int selectionEnd, int startOffset, int endOffset, HandleSelectionDelegate handleNotSelected, HandleSelectionDelegate handleSelected ) : void
HandleTextReplaced ( object sender, Mono.TextEditor.DocumentChangeEventArgs e ) : void
HandleVAdjustmentValueChanged ( object sender, EventArgs e ) : void
InnerDecorateTabsAndSpaces ( Cairo ctx, LayoutWrapper layout, int offset, double x, double y, int selectionStart, int selectionEnd, char spaceOrTab ) : void
InternalHandleSelection ( int selectionStart, int selectionEnd, int startOffset, int endOffset, HandleSelectionDelegate handleNotSelected, HandleSelectionDelegate handleSelected ) : void
IsInsideSelection ( Mono.TextEditor.DocumentLocation clickLocation ) : bool
OnCaretBlink ( EventArgs e ) : void
OnLineShown ( Mono.TextEditor.DocumentLine line ) : void
OpenCodeSegmentEditor ( ) : void
ScanWord ( TextDocument doc, int offset, bool forwardDirection ) : int
SearchPatternWorkerDoWork ( object sender, System e ) : void
SetVisibleCaretPosition ( double x, double y, double nonPreeditX, double nonPreeditY ) : void
ShowTooltip ( TextSegment segment, Gdk.Rectangle hintRectangle ) : void
StopCaretThread ( ) : void
TextEditorDocumentLineChanged ( object sender, Mono.TextEditor.LineEventArgs e ) : void
TextEditor_HighlightSearchPatternChanged ( object sender, EventArgs e ) : void
UpdateCaret ( ) : bool
UpdateRegions ( IEnumerable regions, SearchWorkerArguments args ) : void

메소드 상세

ClearSearchMaker() 공개 메소드

public ClearSearchMaker ( ) : void
리턴 void

ColumnToX() 공개 메소드

public ColumnToX ( Mono.TextEditor.DocumentLine line, int column ) : double
line Mono.TextEditor.DocumentLine
column int
리턴 double

CreateLinePartLayout() 공개 메소드

public CreateLinePartLayout ( ISyntaxMode mode, Mono.TextEditor.DocumentLine line, int offset, int length, int selectionStart, int selectionEnd ) : LayoutWrapper
mode ISyntaxMode
line Mono.TextEditor.DocumentLine
offset int
length int
selectionStart int
selectionEnd int
리턴 LayoutWrapper

CreateLinePartLayout() 공개 메소드

public CreateLinePartLayout ( ISyntaxMode mode, Mono.TextEditor.DocumentLine line, int logicalRulerColumn, int offset, int length, int selectionStart, int selectionEnd ) : LayoutWrapper
mode ISyntaxMode
line Mono.TextEditor.DocumentLine
logicalRulerColumn int
offset int
length int
selectionStart int
selectionEnd int
리턴 LayoutWrapper

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 보호된 메소드

protected Draw ( Cairo cr, Cairo area, Mono.TextEditor.DocumentLine line, int lineNr, double x, double y, double _lineHeight ) : void
cr Cairo
area Cairo
line Mono.TextEditor.DocumentLine
lineNr int
x double
y double
_lineHeight double
리턴 void

DrawCaret() 공개 메소드

public DrawCaret ( Gdk win, Gdk rect ) : void
win Gdk
rect Gdk
리턴 void

DrawCaretLineMarker() 공개 메소드

public DrawCaretLineMarker ( Cairo cr, double xPos, double y, double width, double lineHeight ) : void
cr Cairo
xPos double
y double
width double
lineHeight double
리턴 void

DrawRectangleWithRuler() 공개 메소드

public DrawRectangleWithRuler ( Cairo cr, double x, Cairo area, Cairo color, bool drawDefaultBackground ) : void
cr Cairo
x double
area Cairo
color Cairo
drawDefaultBackground bool
리턴 void

ForceInvalidateLine() 공개 메소드

public ForceInvalidateLine ( int lineNr ) : void
lineNr int
리턴 void

GetLayout() 공개 메소드

public GetLayout ( Mono.TextEditor.DocumentLine line ) : LayoutWrapper
line Mono.TextEditor.DocumentLine
리턴 LayoutWrapper

GetLineHeight() 공개 메소드

public GetLineHeight ( Mono.TextEditor.DocumentLine line ) : double
line Mono.TextEditor.DocumentLine
리턴 double

GetLineHeight() 공개 메소드

public GetLineHeight ( int logicalLineNumber ) : double
logicalLineNumber int
리턴 double

GetNextTabstop() 공개 정적인 메소드

public static GetNextTabstop ( TextEditorData textEditor, int currentColumn ) : int
textEditor TextEditorData
currentColumn int
리턴 int

GetNextTabstop() 공개 정적인 메소드

public static GetNextTabstop ( TextEditorData textEditor, int currentColumn, int tabSize ) : int
textEditor TextEditorData
currentColumn int
tabSize int
리턴 int

GetWidth() 공개 메소드

public GetWidth ( string text ) : int
text string
리턴 int

HideCodeSegmentPreviewWindow() 공개 메소드

public HideCodeSegmentPreviewWindow ( ) : void
리턴 void

LineToY() 공개 메소드

public LineToY ( int logicalLine ) : double
logicalLine int
리턴 double

LocationToPoint() 공개 메소드

public LocationToPoint ( Mono.TextEditor.DocumentLocation loc ) : Cairo.Point
loc Mono.TextEditor.DocumentLocation
리턴 Cairo.Point

LocationToPoint() 공개 메소드

public LocationToPoint ( Mono.TextEditor.DocumentLocation loc, bool useAbsoluteCoordinates ) : Cairo.Point
loc Mono.TextEditor.DocumentLocation
useAbsoluteCoordinates bool
리턴 Cairo.Point

LocationToPoint() 공개 메소드

public LocationToPoint ( int line, int column ) : Cairo.Point
line int
column int
리턴 Cairo.Point

LocationToPoint() 공개 메소드

public LocationToPoint ( int line, int column, bool useAbsoluteCoordinates ) : Cairo.Point
line int
column int
useAbsoluteCoordinates bool
리턴 Cairo.Point

MouseHover() 보호된 메소드

protected MouseHover ( Mono.TextEditor.MarginMouseEventArgs args ) : void
args Mono.TextEditor.MarginMouseEventArgs
리턴 void

MouseLeft() 보호된 메소드

protected MouseLeft ( ) : void
리턴 void

MousePressed() 보호된 메소드

protected MousePressed ( Mono.TextEditor.MarginMouseEventArgs args ) : void
args Mono.TextEditor.MarginMouseEventArgs
리턴 void

MouseReleased() 보호된 메소드

protected MouseReleased ( Mono.TextEditor.MarginMouseEventArgs args ) : void
args Mono.TextEditor.MarginMouseEventArgs
리턴 void

OnHoveredLineChanged() 보호된 메소드

protected OnHoveredLineChanged ( Mono.TextEditor.LineEventArgs e ) : void
e Mono.TextEditor.LineEventArgs
리턴 void

OnMainSearchResultChanged() 보호된 메소드

protected OnMainSearchResultChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnSearchRegionsUpdated() 보호된 메소드

protected OnSearchRegionsUpdated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OptionsChanged() 보호된 메소드

protected OptionsChanged ( ) : void
리턴 void

PointToLocation() 공개 메소드

public PointToLocation ( Cairo p, bool endAtEol = false, bool snapCharacters = false ) : Mono.TextEditor.DocumentLocation
p Cairo
endAtEol bool
snapCharacters bool
리턴 Mono.TextEditor.DocumentLocation

PointToLocation() 공개 메소드

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

PurgeLayoutCache() 공개 메소드

public PurgeLayoutCache ( ) : void
리턴 void

RefreshSearchMarker() 공개 메소드

public RefreshSearchMarker ( ) : void
리턴 void

RemoveCachedLine() 공개 메소드

public RemoveCachedLine ( Mono.TextEditor.DocumentLine line ) : void
line Mono.TextEditor.DocumentLine
리턴 void

ResetCaretBlink() 공개 메소드

public ResetCaretBlink ( uint delay ) : void
delay uint
리턴 void

RoundedRectangle() 공개 정적인 메소드

public static RoundedRectangle ( Cairo cr, double x, double y, double w, double h, double r, CairoCorners corners, bool topBottomFallsThrough ) : void
cr Cairo
x double
y double
w double
h double
r double
corners CairoCorners
topBottomFallsThrough bool
리턴 void

TextViewMargin() 공개 메소드

public TextViewMargin ( MonoTextEditor textEditor ) : System
textEditor MonoTextEditor
리턴 System

TranslateIndexToUTF8() 공개 정적인 메소드

public static TranslateIndexToUTF8 ( string text, int index ) : int
text string
index int
리턴 int

TranslateToUTF8Index() 공개 정적인 메소드

public static TranslateToUTF8Index ( char charArray, uint textIndex, uint &curIndex, uint &byteIndex ) : uint
charArray char
textIndex uint
curIndex uint
byteIndex uint
리턴 uint

YToLine() 공개 메소드

public YToLine ( double yPos ) : int
yPos double
리턴 int

프로퍼티 상세

EmptyRectangle 공개적으로 정적으로 프로퍼티

public static Rectangle,Gdk EmptyRectangle
리턴 Gdk.Rectangle

GetLink 공개적으로 프로퍼티

public Func GetLink
리턴 string>.Func