C# Class RazorPad.UI.Editors.Folding.RazorFoldableSpans

Datei anzeigen Open project: RazorPad/RazorPad Class Usage Examples

Public Methods

Method Description
IsHtml ( int offset ) : bool
RazorFoldableSpans ( string markup, string fileExtension ) : System.Collections.Generic

Private Methods

Method Description
HtmlSpansContainOffset ( int offset ) : bool
IsInSpan ( System.Web.Razor.Parser.SyntaxTree.Span span, int offset ) : bool
IsTemplateParsed ( ) : bool
ParseTemplate ( string html ) : void
ReadCodeSpans ( string markup ) : void
ReadHtmlSpans ( string html ) : void

Method Details

IsHtml() public method

public IsHtml ( int offset ) : bool
offset int
return bool

RazorFoldableSpans() public method

public RazorFoldableSpans ( string markup, string fileExtension ) : System.Collections.Generic
markup string
fileExtension string
return System.Collections.Generic