Beispiel #1
0
        /// <summary>
        /// Creates a comment fold if the comment spans more than one line.
        /// </summary>
        /// <remarks>The text displayed when the comment is folded is the first
        /// line of the comment.</remarks>
        void CreateCommentFoldingRegionIfNotSingleLine()
        {
            XmlCommentFold fold = new XmlCommentFold(reader);

            if (!fold.IsSingleLine)
            {
                folds.Add(fold.CreateFoldingRegion());
            }
        }
		/// <summary>
		/// Creates a comment fold if the comment spans more than one line.
		/// </summary>
		/// <remarks>The text displayed when the comment is folded is the first 
		/// line of the comment.</remarks>
		void CreateCommentFoldingRegionIfNotSingleLine()
		{
			XmlCommentFold fold = new XmlCommentFold(reader);
			if (!fold.IsSingleLine) {
				folds.Add(fold.CreateFoldingRegion());
			}
		}