-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-131507: Add support for syntax highlighting in PyREPL #133247
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e921a80
gh-131507: Add support for syntax highlighting in PyREPL
ambv fb95911
Add Blurb
ambv b428513
Fix irrelevant Windows tests
ambv 2bdcd06
Replace idlelib.colorizer with a faster solution
ambv 8c70c45
Slurp the entire input buffer before refreshing display during bracke…
ambv 4d7ae36
Implement getpending() on Windows
ambv 9585bd6
Adapt tests
ambv b1f2557
Support soft keywords (fight fire with fire)
ambv 01e1129
Fix test
ambv 20eff49
Remove unnecessary import
ambv 8d3648a
Add test for prev_next_window
ambv 656fea3
Windows: bracketed pasting of 448692 chars done in 2.38s ✊
ambv dac8961
Remove colors from Windows low-level console tests
ambv 7891fa7
Fix lint and stuff
ambv 362a21b
Add experimental theming support for syntax highlighting and the prompt
ambv ffebbbe
Fix lint
ambv 388e494
Merge branch 'main' into pyrepl-syntax-highlighting-tokens
ambv 9b60382
Add t-string support to syntax highlighting
ambv f835dba
Apply suggestions from code review
ambv 9003d05
Add _colorize.ANSIColors.BOLD
ambv ff1f92b
Remove - and + from first sets matching for `match`
ambv bd84cd8
Address Pablo's review
ambv 080f300
Exclude applying soft keywords inside any bracket pairs, not just par…
ambv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix test
- Loading branch information
commit 01e1129886a1d9b55f9649abe990fea594d35d4b
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.