예제 #1
0
 public void FoldAll(FoldAction action)
 {
     _editor.FoldAll(action);
 }
예제 #2
0
 /// <summary>
 /// Performs the specified fold action on the entire document.
 /// </summary>
 /// <param name="action">One of the <see cref="FoldAction" /> enumeration values.</param>
 /// <remarks>When using <see cref="FoldAction.Toggle" /> the first fold header in the document is examined to decide whether to expand or contract.</remarks>
 public void FoldAll(FoldAction action)
 {
     DirectMessage(NativeMethods.SCI_FOLDALL, new IntPtr((int)action));
 }
예제 #3
0
        //public void ExpandChildren(int level)
        //{
        //}

        /// <summary>
        /// Performs the specified fold action on the current line and all child lines.
        /// </summary>
        /// <param name="action">One of the <see cref="FoldAction" /> enumeration values.</param>
        public void FoldChildren(FoldAction action)
        {
            scintilla.DirectMessage(NativeMethods.SCI_FOLDCHILDREN, new IntPtr(Index), new IntPtr((int)action));
        }
예제 #4
0
 /// <summary>
 /// Performs the specified fold action on the current line.
 /// </summary>
 /// <param name="action">One of the <see cref="FoldAction" /> enumeration values.</param>
 public void FoldLine(FoldAction action)
 {
     scintilla.DirectMessage(NativeMethods.SCI_FOLDLINE, new IntPtr(Index), new IntPtr((int)action));
 }
예제 #5
0
파일: Scintilla.cs 프로젝트: jcaillon/3P
 //public void ExpandChildren(int level)
 //{
 //}
 /// <summary>
 /// Performs the specified fold action on the current line and all child lines.
 /// </summary>
 /// <param name="action">One of the FoldAction enumeration values.</param>
 public void FoldChildren(FoldAction action)
 {
     Sci.Send(SciMsg.SCI_FOLDCHILDREN, new IntPtr(Index), new IntPtr((int) action));
 }
예제 #6
0
파일: Scintilla.cs 프로젝트: jcaillon/3P
 /// <summary>
 /// Performs the specified fold action on the current line.
 /// </summary>
 /// <param name="action">One of the FoldAction enumeration values.</param>
 public void FoldLine(FoldAction action)
 {
     Sci.Send(SciMsg.SCI_FOLDLINE, new IntPtr(Index), new IntPtr((int) action));
 }
예제 #7
0
파일: Line.cs 프로젝트: uQr/ScintillaNET
 /// <summary>
 /// Performs the specified fold action on the current line.
 /// </summary>
 /// <param name="action">One of the <see cref="FoldAction" /> enumeration values.</param>
 public void FoldLine(FoldAction action)
 {
     scintilla.DirectMessage(NativeMethods.SCI_FOLDLINE, new IntPtr(Index), new IntPtr((int)action));
 }
예제 #8
0
파일: Scintilla.cs 프로젝트: jcaillon/3P
 /// <summary>
 /// Performs the specified fold action on the entire document.
 /// </summary>
 /// <param name="action">One of the FoldAction enumeration values.</param>
 /// <remarks>
 /// When using FoldAction.Toggle the first fold header in the document is examined to decide whether to expand or
 /// contract.
 /// </remarks>
 public static void FoldAll(FoldAction action)
 {
     Sci.Send(SciMsg.SCI_FOLDALL, new IntPtr((int) action));
 }
예제 #9
0
파일: Line.cs 프로젝트: uQr/ScintillaNET
        //public void ExpandChildren(int level)
        //{
        //}

        /// <summary>
        /// Performs the specified fold action on the current line and all child lines.
        /// </summary>
        /// <param name="action">One of the <see cref="FoldAction" /> enumeration values.</param>
        public void FoldChildren(FoldAction action)
        {
            scintilla.DirectMessage(NativeMethods.SCI_FOLDCHILDREN, new IntPtr(Index), new IntPtr((int)action));
        }
예제 #10
0
 public void FoldLine(FoldAction action)
 {
 }
예제 #11
0
파일: SciLine.cs 프로젝트: zhitian/3P
 /// <summary>
 /// Performs the specified fold action on the current line.
 /// </summary>
 /// <param name="action">One of the FoldAction enumeration values.</param>
 public void FoldLine(FoldAction action)
 {
     Api.Send(SciMsg.SCI_FOLDLINE, new IntPtr(Index), new IntPtr((int)action));
 }
예제 #12
0
파일: SciLine.cs 프로젝트: zhitian/3P
            //public void ExpandChildren(int level)
            //{
            //}

            /// <summary>
            /// Performs the specified fold action on the current line and all child Api.Lines.
            /// </summary>
            /// <param name="action">One of the FoldAction enumeration values.</param>
            public void FoldChildren(FoldAction action)
            {
                Api.Send(SciMsg.SCI_FOLDCHILDREN, new IntPtr(Index), new IntPtr((int)action));
            }
예제 #13
0
 public void FoldAll(FoldAction foldAction)
 {
     textArea.FoldAll(foldAction);
 }