Class PythonReformatTask

java.lang.Object
org.netbeans.modules.python.editor.PythonReformatTask
All Implemented Interfaces:
org.netbeans.modules.editor.indent.spi.ReformatTask

public class PythonReformatTask extends Object implements org.netbeans.modules.editor.indent.spi.ReformatTask
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.netbeans.modules.editor.indent.spi.ReformatTask

    org.netbeans.modules.editor.indent.spi.ReformatTask.Factory
  • Constructor Summary

    Constructors
    Constructor
    Description
    PythonReformatTask(org.netbeans.modules.editor.indent.spi.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    applyEditsNoLock(Document doc, List<? extends org.eclipse.lsp4j.TextEdit> edits, Integer startLimit, Integer endLimit)
     
    void
     
    org.netbeans.modules.editor.indent.spi.ExtraLock
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PythonReformatTask

      public PythonReformatTask(org.netbeans.modules.editor.indent.spi.Context context)
  • Method Details

    • reformat

      public void reformat() throws BadLocationException
      Specified by:
      reformat in interface org.netbeans.modules.editor.indent.spi.ReformatTask
      Throws:
      BadLocationException
    • applyEditsNoLock

      public static void applyEditsNoLock(Document doc, List<? extends org.eclipse.lsp4j.TextEdit> edits, Integer startLimit, Integer endLimit)
    • reformatLock

      public org.netbeans.modules.editor.indent.spi.ExtraLock reformatLock()
      Specified by:
      reformatLock in interface org.netbeans.modules.editor.indent.spi.ReformatTask