1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

HackStudio: Highlight matching pairs of [ and ] as well

Also refactor the token pair matching code a little bit to not repeat
ourselves so much. :^)
This commit is contained in:
Andreas Kling 2019-11-23 17:48:20 +01:00
parent fc14bdd442
commit 8f9a522c37
2 changed files with 29 additions and 27 deletions

View file

@ -25,7 +25,7 @@ private:
virtual void cursor_did_change() override;
void show_documentation_tooltip_if_available(const String&, const Point& screen_location);
void highlight_matching_curlies_or_parens();
void highlight_matching_token_pair();
explicit Editor(GWidget* parent);