translate comments to English

This commit is contained in:
Hiroo Takizawa 2025-04-17 23:40:20 +09:00
parent fa14a379e1
commit c0baec641b

View file

@ -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 });
}
}