forked from nesbox/TIC-80
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement naive matched-delimiter highlighting in code editor.
This supports skipping nested delimiter pairs, but it does not support skipping over false-positive matched delimiters from strings and comments yet.
- Loading branch information
1 parent
0717a19
commit f383b45
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,7 @@ struct Code | |
s32 index; | ||
} outline; | ||
|
||
char* matchedDelim; | ||
bool altFont; | ||
|
||
void(*tick)(Code*); | ||
|