public void FoldAll(FoldAction action) { _editor.FoldAll(action); }
/// <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)); }
//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)); }
/// <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)); }
//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)); }
/// <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)); }
/// <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)); }
public void FoldLine(FoldAction action) { }
/// <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)); }
//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)); }
public void FoldAll(FoldAction foldAction) { textArea.FoldAll(foldAction); }