Esempio n. 1
0
 public void FoldAll(FoldAction action)
 {
     _editor.FoldAll(action);
 }
Esempio n. 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));
 }
Esempio n. 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));
        }
Esempio n. 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));
 }
Esempio n. 5
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 FoldAction enumeration values.</param>
 public void FoldChildren(FoldAction action)
 {
     Sci.Send(SciMsg.SCI_FOLDCHILDREN, new IntPtr(Index), new IntPtr((int) action));
 }
Esempio n. 6
0
 /// <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));
 }
Esempio n. 7
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));
 }
Esempio n. 8
0
 /// <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));
 }
Esempio n. 9
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));
        }
Esempio n. 10
0
 public void FoldLine(FoldAction action)
 {
 }
Esempio n. 11
0
 /// <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));
 }
Esempio n. 12
0
            //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));
            }
Esempio n. 13
0
 public void FoldAll(FoldAction foldAction)
 {
     textArea.FoldAll(foldAction);
 }