Module aya.pretty

Class Cursor

java.lang.Object
org.aya.pretty.backend.string.Cursor

public class Cursor extends Object
  • Constructor Details

  • Method Details

    • result

      @NotNull public @NotNull CharSequence result()
    • getCursor

      public int getCursor()
    • getNestLevel

      public int getNestLevel()
    • content

      public void content(@NotNull @NotNull CharSequence content, boolean visible)
    • invisibleContent

      public void invisibleContent(@NotNull @NotNull CharSequence content)
    • visibleContent

      public void visibleContent(@NotNull @NotNull CharSequence content)
    • lineBreakWith

      public void lineBreakWith(@NotNull @NotNull CharSequence lineBreak)
    • isAtLineStart

      public boolean isAtLineStart()
    • moveToNewLine

      public void moveToNewLine()
    • moveForward

      public void moveForward(int count)
    • nested

      public void nested(int nest, @NotNull @NotNull Runnable r)