Skip to content
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

enh(py): Improve colorings and bug fix #11

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

davidhcefx
Copy link
Collaborator

@davidhcefx davidhcefx commented Feb 3, 2024

From: scopatz#412

Description

  • Improve colorings based on iPython (colors=Linux):
    • Green for exceptions and function names.
    • Red for keywords such as from and not.
    • Cyan for keywords such as for and if.
  • Fix empty strings not correctly highlighted.
  • Fix block comments not correctly highlighted when nothing follows ===.
  • Fix that TODO should be matched as a whole word.

Screenshot

  • Before

before

  • After

after

- Improve colorings based on iPython (colors=Linux):
    - Green for exceptions and function names.
    - Red for keywords such as `from` and `not`.
    - Cyan for keywords such as `for` and `if`.
- Fix empty strings not correctly highlighted.
- Fix block comments not correctly highlighted when nothing follows `===`.
- Add support for "TODO".

Originally proposed in scopatz#412
@galenguyer galenguyer merged commit 7062015 into galenguyer:master Feb 24, 2024
@davidhcefx davidhcefx deleted the py-enh branch February 25, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants