Skip to content

Simplify coloring of code - #4894

Open
GniLudio wants to merge 4 commits into
ManimCommunity:mainfrom
GniLudio:patch-3
Open

Simplify coloring of code#4894
GniLudio wants to merge 4 commits into
ManimCommunity:mainfrom
GniLudio:patch-3

Conversation

@GniLudio

Copy link
Copy Markdown
Contributor

Overview: What does this pull request change?

Simplifies the coloring of code in code_mobject.py.

Instead of finding colored areas in one loop and applying the coloring in another, all is done inside one single loop.

Motivation and Explanation: Why and how do your changes improve the library?

Simplifies the coloring.

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@GniLudio GniLudio changed the title Patch 3 Simplify coloring of code Jul 21, 2026
@GniLudio
GniLudio marked this pull request as draft July 21, 2026 16:18
@GniLudio
GniLudio marked this pull request as ready for review July 21, 2026 17:36
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.

1 participant