From be2ce64287db6bbb40f0fd43a41a8ef8fcf84d90 Mon Sep 17 00:00:00 2001 From: Yiming Zhang Date: Mon, 7 Jul 2025 20:20:58 +0800 Subject: [PATCH 1/3] Add documentation for stress testing --- content/docs/preferences/actions/_index.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/content/docs/preferences/actions/_index.md b/content/docs/preferences/actions/_index.md index dcd65c65..e1b6c4d3 100644 --- a/content/docs/preferences/actions/_index.md +++ b/content/docs/preferences/actions/_index.md @@ -128,3 +128,25 @@ If you switch to the correct tab when solving a problem, with this setting enabl Hide the time of the stopwatch and only show the time when the "Show" button is pressed. This may reduce distractions caused by stopwatch updates. + +## Stress Testing + +### Programming language for the generator template + +The programming language used for the generator template. + +### Path to the generator template file + +See [Template Path](../language/#template-path). + +### Template Cursor Position Regex + +See [Template Cursor Position](../language/#template-cursor-position). + +### Template Cursor Position Offset Type + +Whether the offset is relative to the start of the regex or the end of the regex. + +### Template Cursor Position Offset Characters + +The offset relative to the match of the regex in the number of characters, including white spaces. \ No newline at end of file From 16763c8a4bb291ca52b798bc30fb68f8325c738a Mon Sep 17 00:00:00 2001 From: Yiming Zhang Date: Mon, 7 Jul 2025 20:23:11 +0800 Subject: [PATCH 2/3] Format markdown --- content/docs/preferences/actions/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/preferences/actions/_index.md b/content/docs/preferences/actions/_index.md index e1b6c4d3..7125842a 100644 --- a/content/docs/preferences/actions/_index.md +++ b/content/docs/preferences/actions/_index.md @@ -149,4 +149,4 @@ Whether the offset is relative to the start of the regex or the end of the regex ### Template Cursor Position Offset Characters -The offset relative to the match of the regex in the number of characters, including white spaces. \ No newline at end of file +The offset relative to the match of the regex in the number of characters, including white spaces. From 8a8ea0307a43151e6a41e3e2fbb6daab7109963d Mon Sep 17 00:00:00 2001 From: Yiming Zhang Date: Mon, 7 Jul 2025 21:51:58 +0800 Subject: [PATCH 3/3] Add chinese translation --- content/docs/preferences/actions/_index.md | 8 +++---- content/docs/preferences/actions/_index.zh.md | 22 +++++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/content/docs/preferences/actions/_index.md b/content/docs/preferences/actions/_index.md index 7125842a..b5b8bbdd 100644 --- a/content/docs/preferences/actions/_index.md +++ b/content/docs/preferences/actions/_index.md @@ -131,11 +131,11 @@ This may reduce distractions caused by stopwatch updates. ## Stress Testing -### Programming language for the generator template +### Programming language for the template The programming language used for the generator template. -### Path to the generator template file +### Path to the template file See [Template Path](../language/#template-path). @@ -145,8 +145,8 @@ See [Template Cursor Position](../language/#template-cursor-position). ### Template Cursor Position Offset Type -Whether the offset is relative to the start of the regex or the end of the regex. +See [Template Cursor Position](../language/#template-cursor-position). ### Template Cursor Position Offset Characters -The offset relative to the match of the regex in the number of characters, including white spaces. +See [Template Cursor Position](../language/#template-cursor-position). diff --git a/content/docs/preferences/actions/_index.zh.md b/content/docs/preferences/actions/_index.zh.md index 6f502b8e..a23adfa3 100644 --- a/content/docs/preferences/actions/_index.zh.md +++ b/content/docs/preferences/actions/_index.zh.md @@ -126,3 +126,25 @@ weight: 40 隐藏计时结果,只在“显示”按钮按下时显示。 这或许可以避免计时结果更新使人分心。 + +## 对拍 + +### 模版使用的编程语言 + +数据生成器模版使用的编程语言 + +### 模板路径 + +参见 [模板路径](../language/#template-path)。 + +### 使用模板时光标初始位置定位使用的正则表达式 + +参见 [使用模板时的光标初始位置](../language/#使用模板时的光标初始位置)。 + +### 使用模板时光标初始位置的偏移类型 + +参见 [使用模板时的光标初始位置](../language/#使用模板时的光标初始位置)。 + +### 使用模板时光标初始位置的偏移字符量 + +参见 [使用模板时的光标初始位置](../language/#使用模板时的光标初始位置)。