refactor: merge adjecent words into one TextElement (#5847)

This commit is contained in:
nerix
2025-01-22 23:25:00 +01:00
committed by GitHub
parent ea02a42162
commit 0a3cc1deed
42 changed files with 289 additions and 2719 deletions
@@ -223,96 +223,12 @@
"trailingSpace": true,
"type": "TextElement",
"words": [
"&baz2[1+\\2]"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&baz3[1+\\42]"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&bi1"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&biii1"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&baz4[i+420+i]"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&baz1[oo+123]&baz1[o+2]"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"&baz2[1+\\2]",
"&baz3[1+\\42]",
"&bi1",
"&biii1",
"&baz4[i+420+i]",
"&baz1[oo+123]&baz1[o+2]",
"{"
]
},
@@ -362,21 +278,7 @@
"trailingSpace": true,
"type": "TextElement",
"words": [
"}"
]
},
{
"color": "Text",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"}",
"woah->"
]
},