C# 클래스 Nitra.VisualStudio.Models.FileModel

상속: IDisposable
파일 보기 프로젝트 열기: JetBrains/Nitra

공개 메소드들

메소드 설명
Dispose ( ) : void
FileModel ( FileId id, ITextBuffer textBuffer, Server server, Dispatcher dispatcher, IVsHierarchy hierarchy, string fullPath ) : Microsoft.VisualStudio.Text.Editor
GetOrAdd ( IWpfTextView wpfTextView ) : TextViewModel
Remove ( IWpfTextView wpfTextView ) : void
Response ( AsyncServerMessage msg ) : void
TextBuffer_Changed ( object sender, TextContentChangedEventArgs e ) : void
UpdateSpanInfos ( HighlightingType highlightingType, ImmutableArray spanInfos, FileVersion version ) : void

비공개 메소드들

메소드 설명
ConvertMessageType ( CompilerMessageType type ) : TaskErrorCategory
GetClassifierOpt ( ) : NitraEditorClassifier
GetTextViewModel ( ) : TextViewModel
OnMouseHover ( TextViewModel textViewModel ) : void
SpanClassToBrush ( string spanClass, IWpfTextView _wpfTextView ) : Brush
Task_Navigate ( object sender, EventArgs e ) : void
UpdateCompilerMessages ( int index, CompilerMessage messages, int version ) : void
ViewActivated ( TextViewModel textViewModel ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FileModel() 공개 메소드

public FileModel ( FileId id, ITextBuffer textBuffer, Server server, Dispatcher dispatcher, IVsHierarchy hierarchy, string fullPath ) : Microsoft.VisualStudio.Text.Editor
id FileId
textBuffer ITextBuffer
server Server
dispatcher System.Windows.Threading.Dispatcher
hierarchy IVsHierarchy
fullPath string
리턴 Microsoft.VisualStudio.Text.Editor

GetOrAdd() 공개 메소드

public GetOrAdd ( IWpfTextView wpfTextView ) : TextViewModel
wpfTextView IWpfTextView
리턴 TextViewModel

Remove() 공개 메소드

public Remove ( IWpfTextView wpfTextView ) : void
wpfTextView IWpfTextView
리턴 void

Response() 공개 메소드

public Response ( AsyncServerMessage msg ) : void
msg AsyncServerMessage
리턴 void

TextBuffer_Changed() 공개 메소드

public TextBuffer_Changed ( object sender, TextContentChangedEventArgs e ) : void
sender object
e TextContentChangedEventArgs
리턴 void

UpdateSpanInfos() 공개 메소드

public UpdateSpanInfos ( HighlightingType highlightingType, ImmutableArray spanInfos, FileVersion version ) : void
highlightingType HighlightingType
spanInfos ImmutableArray
version FileVersion
리턴 void