-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Paren matching in code editor #1075
Comments
I think it sounds good, pls give it a shot if you have time. |
I made a lot of progress on this; I have an initial implementation here: technomancy@f383b45 It works in the case of having nested delimiters in between the outer ones; for instance However, I got stuck on two problems:
If I had a function like I am very inexperienced at writing C, so please let me know if you have any other suggestions for making the code better too. |
Also, unrelated to this change, I would like to get some changes to Fennel in before the 0.80.0 release goes out; do you think that will be soon or do we have a bit more time to get that ready? |
I think we could use |
I hope we have a month at least :) |
I added syntax buffer here c98eb4a, if(code->syntax[pos] == SyntaxTypeComment)... or if(code->syntax[pos] == SyntaxTypeString)... to determine string type. |
That's exactly what I needed; thank you! |
When I'm using TIC without an external editor, it's great, but one difficulty I have is with matching parentheses up. In other editors sometimes when you put the cursor on a paren, it colors the matching paren on the other side in a way that helps you know which correspond to which.
Do you think this would be a good addition in the TIC code editor? I could give it a shot if so.
The text was updated successfully, but these errors were encountered: