Class EditorGuidesOptions

java.lang.Object
org.primefaces.shaded.json.JSONObject
org.primefaces.extensions.model.monacoeditor.EditorGuidesOptions
All Implemented Interfaces:
Serializable

public class EditorGuidesOptions extends org.primefaces.shaded.json.JSONObject implements Serializable
Controls the behavior of editor guides.
See Also:
  • Constructor Details

    • EditorGuidesOptions

      public EditorGuidesOptions()
  • Method Details

    • isBracketPairs

      public Boolean isBracketPairs()
      Returns:
      Enable rendering of bracket pair guides. Defaults to false.
    • setBracketPairs

      public EditorGuidesOptions setBracketPairs(Boolean bracketPairs)
      Parameters:
      bracketPairs - Enable rendering of bracket pair guides. Defaults to false.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isBracketPairsHorizontal

      public Boolean isBracketPairsHorizontal()
      Returns:
      Enable rendering of vertical bracket pair guides. Defaults to true.
    • setBracketPairsHorizontal

      public EditorGuidesOptions setBracketPairsHorizontal(Boolean bracketPairsHorizontal)
      Parameters:
      bracketPairsHorizontal - Enable rendering of vertical bracket pair guides. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isHighlightActiveBracketPair

      public Boolean isHighlightActiveBracketPair()
      Returns:
      Enable highlighting of the active bracket pair. Defaults to true.
    • setHighlightActiveBracketPair

      public EditorGuidesOptions setHighlightActiveBracketPair(Boolean highlightActiveBracketPair)
      Parameters:
      highlightActiveBracketPair - Enable highlighting of the active bracket pair. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isHighlightActiveIndentation

      public Boolean isHighlightActiveIndentation()
      Returns:
      Enable highlighting of the active indent guide. Defaults to true.
    • setHighlightActiveIndentation

      public EditorGuidesOptions setHighlightActiveIndentation(Boolean highlightActiveIndentation)
      Parameters:
      highlightActiveIndentation - Enable highlighting of the active indent guide. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.
    • isIndentation

      public Boolean isIndentation()
      Returns:
      Enable rendering of indent guides. Defaults to true.
    • setIndentation

      public EditorGuidesOptions setIndentation(Boolean indentation)
      Parameters:
      indentation - Enable rendering of indent guides. Defaults to true.
      Returns:
      This same instance, useful for chaining multiple setter methods in one call.