mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[PR #380] Add support for Colored Parentheses #388
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/380
Author: @Oreig403
Created: 2/4/2025
Status: 🔄 Open
Base:
upsilon-dev← Head:upsilon-dev📝 Commits (6)
a39cb30Support for colored parenthesesd8eb287Add colored parentheses support in python3e7b37cAdd colored parentheses support in python7564d9cSupport for colored parentheses5c4c0e5Added support for colored parenthesesf6e55a2Added support for colored parentheses📊 Changes
7 files changed (+227 additions, -12 deletions)
View changed files
📝
apps/code/Makefile(+1 -0)➕
apps/code/brackets.c(+103 -0)➕
apps/code/brackets.h(+30 -0)📝
apps/code/python_text_area.cpp(+58 -5)📝
apps/code/python_text_area.h(+1 -1)📝
escher/include/escher/text_area.h(+5 -2)📝
escher/src/text_area.cpp(+29 -4)📄 Description
Added support for coloring matching parenthesis to different colors ( if no matching parenthesis then color in red),

Only quirk is that because the os can't allocate big buffers I had to rely on a static table for every unmatched parenthesis position (so their is a theoretical limit to the number of parenthesis the program will color correctly).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.