📝 Search replace generate file history Fix https://github.com/siyuan-note/siyuan/issues/7864

This commit is contained in:
Liang Ding 2023-04-03 11:46:30 +08:00
parent ff395ce34b
commit 6b6b983d77
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 236 additions and 52 deletions

View file

@ -5,7 +5,7 @@
"Properties": {
"id": "20210615213222-vs5tzbd",
"title": "Data history",
"updated": "20220831210614"
"updated": "20230403114455"
},
"Children": [
{
@ -183,7 +183,7 @@
"ListData": {},
"Properties": {
"id": "20220501135308-30uwxvd",
"updated": "20220831210614"
"updated": "20230403114455"
},
"Children": [
{
@ -217,7 +217,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -226,7 +226,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -235,12 +235,16 @@
},
{
"Type": "NodeText",
"Data": " make adjustments), and the suffix of the history folder is "
"Data": " make adjustments), and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-update"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -274,6 +278,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-sync"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -307,6 +315,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-delete"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -351,6 +363,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-clean"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -365,7 +381,7 @@
},
"Properties": {
"id": "20220501135308-wzazz01",
"updated": "20220628203717"
"updated": "20230403114455"
},
"Children": [
{
@ -373,7 +389,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-xldpw4q",
"updated": "20220628203717"
"updated": "20230403114455"
},
"Children": [
{
@ -382,17 +398,69 @@
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220628204454-hhxohv5",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "Optimize typography"
},
{
"Type": "NodeText",
"Data": " function, a history will be generated, and the suffix of the history folder is "
"Data": ", a history will be generated, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20230403114321-4rwhj6j",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230403114321-4rwhj6j",
"updated": "20230403114424"
},
"Children": [
{
"ID": "20230403114321-tou7etc",
"Type": "NodeParagraph",
"Properties": {
"id": "20230403114321-tou7etc",
"updated": "20230403114424"
},
"Children": [
{
"Type": "NodeText",
"Data": "When using "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search replace"
},
{
"Type": "NodeText",
"Data": ", a history will be generated, and the suffix of the history folder "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-replace"
},
{
"Type": "NodeText",
"Data": ""
}
]
}

View file

@ -5,7 +5,7 @@
"Properties": {
"id": "20210615211733-v6rzowm",
"title": "数据历史",
"updated": "20220831210638"
"updated": "20230403114310"
},
"Children": [
{
@ -14,7 +14,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20220501134357-003dftr",
"updated": "20220501134417"
"updated": "20230403113939"
},
"Children": [
{
@ -183,7 +183,7 @@
"ListData": {},
"Properties": {
"id": "20210403160319-ufy7jta",
"updated": "20220831210638"
"updated": "20230403114310"
},
"Children": [
{
@ -217,7 +217,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -226,7 +226,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -235,12 +235,16 @@
},
{
"Type": "NodeText",
"Data": " 进行调整),历史文件夹后缀为 "
"Data": " 进行调整),历史文件夹后缀为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-update"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -268,24 +272,16 @@
"Children": [
{
"Type": "NodeText",
"Data": "云端"
},
{
"Type": "NodeText",
"Data": "同步时,本地被"
},
{
"Type": "NodeText",
"Data": "云端"
},
{
"Type": "NodeText",
"Data": "覆盖的数据会生成历史,历史文件夹后缀为 "
"Data": "云端同步时,本地被云端覆盖的数据会生成历史,历史文件夹后缀为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-sync"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -313,20 +309,16 @@
"Children": [
{
"Type": "NodeText",
"Data": "手动删除笔记本、文档和"
},
{
"Type": "NodeText",
"Data": "资源文件"
},
{
"Type": "NodeText",
"Data": "时会生成历史,历史文件夹后缀为 "
"Data": "手动删除笔记本、文档和资源文件时会生成历史,历史文件夹后缀为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-delete"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -371,6 +363,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-clean"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -385,7 +381,7 @@
},
"Properties": {
"id": "20220501134920-qb6wh0b",
"updated": "20220628203857"
"updated": "20230403114300"
},
"Children": [
{
@ -393,7 +389,55 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220501134920-k403n1r",
"updated": "20220628203857"
"updated": "20230403114300"
},
"Children": [
{
"Type": "NodeText",
"Data": "使用"
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220628204444-9n0y9h2",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "优化排版"
},
{
"Type": "NodeText",
"Data": "时会生成历史,历史文件夹后缀为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20230403113929-44xkaoz",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230403113929-44xkaoz",
"updated": "20230403114310"
},
"Children": [
{
"ID": "20230403113929-ud36ubv",
"Type": "NodeParagraph",
"Properties": {
"id": "20230403113929-ud36ubv",
"updated": "20230403114310"
},
"Children": [
{
@ -403,16 +447,20 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "优化排版"
"TextMarkTextContent": "搜索替换"
},
{
"Type": "NodeText",
"Data": " 功能时会生成历史,历史文件夹后缀为 "
"Data": " 时会生成历史,历史文件夹后缀为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
"TextMarkTextContent": "-replace"
},
{
"Type": "NodeText",
"Data": ""
}
]
}

View file

@ -5,7 +5,7 @@
"Properties": {
"id": "20211226122707-8cr09co",
"title": "數據歷史",
"updated": "20220831210559"
"updated": "20230403114139"
},
"Children": [
{
@ -183,7 +183,7 @@
"ListData": {},
"Properties": {
"id": "20220501135134-p6jpw7s",
"updated": "20220831210559"
"updated": "20230403114139"
},
"Children": [
{
@ -217,7 +217,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -226,7 +226,7 @@
},
{
"Type": "NodeText",
"Data": " - "
"Data": " - "
},
{
"Type": "NodeTextMark",
@ -235,12 +235,16 @@
},
{
"Type": "NodeText",
"Data": " 進行調整),歷史文件夾後綴為 "
"Data": " 進行調整),歷史文件夾後綴為 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-update"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -274,6 +278,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-sync"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -307,6 +315,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-delete"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -351,6 +363,10 @@
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-clean"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
@ -365,7 +381,7 @@
},
"Properties": {
"id": "20220501135134-6k05zq3",
"updated": "20220628203918"
"updated": "20230403114139"
},
"Children": [
{
@ -373,7 +389,55 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135134-o33eejl",
"updated": "20220628203918"
"updated": "20230403114139"
},
"Children": [
{
"Type": "NodeText",
"Data": "使用"
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220628204420-ui79vkt",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "優化排版"
},
{
"Type": "NodeText",
"Data": "時會生成歷史,歷史文件夾後綴為 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20230403114032-wxsdrdw",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230403114032-wxsdrdw",
"updated": "20230403114109"
},
"Children": [
{
"ID": "20230403114032-r5mnisa",
"Type": "NodeParagraph",
"Properties": {
"id": "20230403114032-r5mnisa",
"updated": "20230403114109"
},
"Children": [
{
@ -383,16 +447,20 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "優化排版"
"TextMarkTextContent": "搜索替換"
},
{
"Type": "NodeText",
"Data": " 功能時會生成歷史,歷史文件夾後綴為 "
"Data": " 時會生成歷史,歷史文件夾後綴為 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
"TextMarkTextContent": "-replace"
},
{
"Type": "NodeText",
"Data": ""
}
]
}