Class 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 Detail

      • AutopairWidgets

        public AutopairWidgets​(LineReader reader)
      • AutopairWidgets

        public AutopairWidgets​(LineReader reader,
                               boolean addCurlyBrackets)
    • Method Detail

      • 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()