YishiMichael
12bfe88f40
Some refactors
2022-04-11 23:44:33 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex
2022-04-10 08:36:13 +08:00
YishiMichael
3550108ff7
Handle out-of-bound spans
2022-04-07 09:48:44 +08:00
YishiMichael
557707ea75
Support substring and case_sensitive parameters
2022-04-07 00:46:41 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString
2022-04-06 22:38:33 +08:00
YishiMichael
7f616987a3
Fix typo
2022-04-05 14:01:07 +08:00
YishiMichael
974d9d5ab0
Avoid empty spans
2022-04-04 14:53:40 +08:00
YishiMichael
3c3264d7d6
Support passing in spans directly
2022-04-02 22:42:19 +08:00
YishiMichael
84c56b3624
Fix typo
2022-03-31 18:11:37 +08:00
YishiMichael
dc816c9f8d
Improve algorithm
2022-03-31 18:08:10 +08:00
YishiMichael
d5ab9a91c4
Reorganize files
2022-03-31 16:15:58 +08:00
YishiMichael
461500637e
Fix type bug
2022-03-31 10:57:25 +08:00
YishiMichael
fc4f649570
Fix bugs brought by empty strings
2022-03-31 10:36:14 +08:00
YishiMichael
0add9b6e3a
Rename file
2022-03-30 21:57:27 +08:00
YishiMichael
c5ec47b0e9
Refactor LabelledString
2022-03-30 21:53:00 +08:00
YishiMichael
7e8b3a4c6b
Refactor LabelledString
2022-03-29 23:38:06 +08:00
YishiMichael
82c972b946
Remove saxutils.unescape process
2022-03-28 19:31:19 +08:00
YishiMichael
45faa9063b
Add items for hash_seed
2022-03-28 19:02:50 +08:00
YishiMichael
0e31ff12e2
Tiny fix for TransformMatchingString
2022-03-28 18:54:43 +08:00
YishiMichael
473aaea399
Construct LabelledString
2022-03-28 17:55:50 +08:00
YishiMichael
519e2f4f1e
Adjust some typings
2022-03-23 12:21:40 +08:00
Grant Sanderson
e812b99594
Re-add necessary imports
2022-03-22 11:07:26 -07:00
Grant Sanderson
f690164087
Merge branch 'master' into master
2022-03-22 11:00:33 -07:00
YishiMichael
a8c2a9fa3f
Clean up code
2022-03-21 23:11:37 +08:00
YishiMichael
cabc1322d6
Clean up code
2022-03-21 23:06:47 +08:00
YishiMichael
2a0709664d
Add explicit return statement
2022-03-17 11:33:53 +08:00
YishiMichael
de46df78dc
Modify warning message
2022-03-17 10:58:41 +08:00
YishiMichael
2d764e12f4
fix char escaping bug
2022-03-03 21:09:05 +08:00
YishiMichael
d744311f15
add warning for slicing methods
2022-03-03 20:47:44 +08:00
YishiMichael
11af9508f2
add back get_parts_by_text, get_part_by_text methods
2022-03-03 20:38:15 +08:00
YishiMichael
a227ffde05
PEP8: reorder imports
2022-03-02 20:28:26 +08:00
YishiMichael
e0b0ae280e
Allow passing strings to local_configs
2022-03-02 19:59:14 +08:00
YishiMichael
fce38fd8a5
Modify default value of apply_space_chars
2022-03-02 19:52:45 +08:00
YishiMichael
52a99a0c49
Add global_config, local_configs params
2022-03-02 19:34:56 +08:00
YishiMichael
956e3a69c7
Refactor Text
2022-03-02 18:38:24 +08:00
YishiMichael
b06a5d3f23
Refactor Text
2022-02-26 20:31:26 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import
2022-02-16 21:08:25 +08:00
TonyCrane
9f3b404df6
resolve conflict and add type hints for it
2022-02-16 11:46:55 +08:00
YishiMichael
0cab23b2ba
Reorganize inheriting order of SVGMobject
2022-02-15 20:16:15 +08:00
TonyCrane
773e013af9
chore: add type hints to manimlib.mobject.svg
2022-02-14 22:55:41 +08:00
YishiMichael
67f5b10626
Attempt to refactor SVGMobject with svgelements ( #1731 )
...
* Some small refactors
* Refactor MTex
* Implement TransformMatchingMTex
* Some refactors
* Some refactors
* Some small refactors
* Strip strings before matching
* Implement get_submob_tex
* Use RGB color mode
* Some small refactors
* Try refactoring SVGMobject with svglib
* Refactor SVGMobject using svgelements
* Refactor SVGMobject using svgelements
* Use functions instead of func names as dict values
* style: modify import order to conform to PEP8
* Set default values to None
* modify import order
* Remove unused import
Co-authored-by: TonyCrane <tonycrane@foxmail.com>
2022-02-11 07:53:21 -08:00
Grant Sanderson
8a29de5ef0
Override style for Text
2022-01-26 08:21:00 -08:00
TonyCrane
19778e405a
some cleanups
2022-01-26 19:55:47 +08:00
Grant Sanderson
f3ecebee43
Remove unnecessary import
2021-11-16 17:37:45 -08:00
Grant Sanderson
2753beb7bb
Merge branch 'master' of github.com:3b1b/manim into quintic
2021-10-03 10:28:14 -07:00
Grant Sanderson
788775e419
Larger spacing between Text lines
2021-10-01 12:32:38 -07:00
TonyCrane
add1daf500
change CRLF to LF
2021-09-15 20:02:57 +08:00
Michael W
9e563ae3b4
Add Code mobject and rewrite Text.text2settings()
2021-09-15 15:55:19 +08:00
Grant Sanderson
fd8904ec83
Merge pull request #1557 from naveen521kk/add-markuptext
...
Add MarkupText
2021-07-28 07:45:50 -07:00
Wallbreaker5th
2ed78c6e0f
Rewrite earclip_triangulation
2021-07-28 17:06:43 +08:00