Commit graph

96 commits

Author SHA1 Message Date
YishiMichael
cbb7e69f68
Refactor LabelledString and relevant classes 2022-04-18 18:47:57 +08:00
YishiMichael
0e0244128c
Refactor LabelledString and relevant classes 2022-04-17 13:57:03 +08:00
YishiMichael
4f5173b633
Adjust typing 2022-04-16 15:45:55 +08:00
YishiMichael
58127e7511
import Iterables 2022-04-16 15:34:32 +08:00
YishiMichael
b387bc0c95
Adjust typings 2022-04-16 15:29:23 +08:00
YishiMichael
654da85cf6
Adjust typings 2022-04-16 14:09:59 +08:00
YishiMichael
ac4620483c
Support flexible selector types 2022-04-16 12:53:43 +08:00
YishiMichael
4690edec3e
Refactor LabelledString 2022-04-16 00:24:55 +08:00
YishiMichael
0a810bb4f1
Refactor LabelledString 2022-04-15 22:54:06 +08:00
YishiMichael
020bd87271
Add back base_color attribute 2022-04-15 13:27:50 +08:00
YishiMichael
4c324767bd
Recover Mobject.scale method 2022-04-15 00:55:02 +08:00
YishiMichael
eec6b01a72
Refactor labelled_string.py 2022-04-14 21:07:31 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
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