# 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 
<img width="290" alt="image" 
src="https://user-images.githubusercontent.com/122637911/215630933-08786dc1-c903-4045-b4aa-64cc08d32b8f.png">
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1241

-- Commit Summary --

  * Bracket Colors
  * remove leftover cruft, apply consistent snake case for helper functions
  * Merge branch 'geany:master' into bracketcolors_v1_clean

-- File Changes --

    M MAINTAINERS (7)
    M Makefile.am (4)
    M README (1)
    A bracketcolors/AUTHORS (1)
    A bracketcolors/COPYING (339)
    A bracketcolors/ChangeLog (0)
    A bracketcolors/Makefile.am (4)
    A bracketcolors/NEWS (0)
    A bracketcolors/README (32)
    A bracketcolors/src/BracketMap.cc (110)
    A bracketcolors/src/BracketMap.h (63)
    A bracketcolors/src/Makefile.am (15)
    A bracketcolors/src/bracketcolors.cc (1292)
    A build/ax_cxx_compile_stdcxx.m4 (962)
    A build/ax_cxx_compile_stdcxx_17.m4 (35)
    A build/bracketcolors.m4 (31)
    M build/geany-plugins.nsi (1)
    M configure.ac (2)
    M po/POTFILES.in (3)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1241.patch
https://github.com/geany/geany-plugins/pull/1241.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1241
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/[email protected]>

Reply via email to