From c0baec641b0c5c36aff4621db823937b2f7bf2b0 Mon Sep 17 00:00:00 2001 From: Hiroo Takizawa Date: Thu, 17 Apr 2025 23:40:20 +0900 Subject: [PATCH] translate comments to English --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index d21f9cb..cdfd785 100644 --- a/main.ts +++ b/main.ts @@ -38,11 +38,11 @@ export default class AutoBulletPlugin extends Plugin { const cursor = editor.getCursor(); const line = editor.getLine(cursor.line); - // バレットポイントの行の場合は「- 」の後ろにカーソルを移動 + // If this is a bullet point line, move the cursor after the bullet (- ) if (line.trim().startsWith('- ')) { this.moveCursorAfterBullet(editor); } else { - // 通常の行の場合は行の先頭にカーソルを移動(標準のCtrl+Aと同様) + // For normal lines, move cursor to the beginning of the line (similar to standard Ctrl+A behavior) editor.setCursor({ line: cursor.line, ch: 0 }); } }