Inheritance: ICSharpCode.AvalonEdit.Folding.NewFolding
Exemple #1
0
 void AddFoldIfEndElementOnDifferentLineToStartElement(HtmlElementFold fold)
 {
     if (razorHtmlReader.Line > fold.Line)
     {
         folds.Add(fold);
     }
 }
Exemple #2
0
 void AddFoldIfEndElementOnDifferentLineToStartElement(HtmlElementFold fold)
 {
     if (razorHtmlReader.Line > fold.Line)
     {
         folds.Add(fold);
     }
 }
Exemple #3
0
        void SaveFoldStartOnStack()
        {
            var fold = new HtmlElementFold()
            {
                ElementName = razorHtmlReader.Value,
                StartOffset = razorHtmlReader.Offset,
                Line        = razorHtmlReader.Line
            };

            foldStack.Push(fold);
        }
Exemple #4
0
 void SaveFoldStartOnStack()
 {
     var fold = new HtmlElementFold()
                    {
                        ElementName = razorHtmlReader.Value,
                        StartOffset = razorHtmlReader.Offset,
                        Line = razorHtmlReader.Line
                    };
     foldStack.Push(fold);
 }