Skip to content

Paren Mode red status not showing #32

@oakmac

Description

@oakmac

While in Paren Mode, the status bar highlights red if unbalanced parens are detected. Due to the performance hack described in Issue #9, the status bar only reflects whatever chunk of code atom-parinfer is "looking at". Thus, you may have a file with unbalanced parens and the status bar does not always reflect this.

Steps to reproduce:

  1. Open a file with multiple "parent expressions"
  2. Switch to Paren Mode
  3. Make one of the expressions unbalanced
  4. Using the up and down arrow keys, move through the code and watch the status bar. It will be red when the cursor is close to the unbalanced parent expression and normal color when not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions