Class AutopairWidgets

java.lang.Object
org.jline.widget.Widgets
org.jline.widget.AutopairWidgets

public class AutopairWidgets extends Widgets
Creates and manages widgets that auto-closes, deletes and skips over matching delimiters intelligently.
Author:
Matti Rinta-Nikkola
  • Constructor Details

    • AutopairWidgets

      public AutopairWidgets(LineReader reader)
    • AutopairWidgets

      public AutopairWidgets(LineReader reader, boolean addCurlyBrackets)
  • Method Details

    • enable

      public void enable()
    • disable

      public void disable()
    • toggle

      public boolean toggle()
    • autopairInsert

      public boolean autopairInsert()
    • autopairClose

      public boolean autopairClose()
    • autopairDelete

      public boolean autopairDelete()
    • toggleKeyBindings

      public boolean toggleKeyBindings()