Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bracket colors plugin #1241

Closed
wants to merge 3 commits into from
Closed

Conversation

asifamin13
Copy link

Bracketcolors plugin

  • Color { }, [ ], ( ) based on nesting order to make it easier to see the start/end bracket
  • Ignore brackets in non source code (strings, comments, doc strings, etc.)
  • Language agnostic

How it works

Allocates 3 indicators (starting at INDICATOR_IME - 3) to color each bracket pair as determined by SCI_BRACEMATCH. Ignore non source brackets as determined by highlighting_is_code_style

Dependencies

  • Geany 1.38
    • Need INDICATOR_IME from updated scintilla release
  • C++17
    • Mainly for std::map

Demo

image

@asifamin13
Copy link
Author

This is revived from my original pull request

I got too aggressive squashing commits between my work and home workstations and ended up getting other unrelated commits from upstream into my feature branch 😅

@asifamin13
Copy link
Author

cc @elextr @eht16 @b4n @rdipardo

@b4n b4n closed this Mar 14, 2023
@b4n b4n reopened this Mar 14, 2023
@asifamin13 asifamin13 closed this Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants