Commit Graph

14 Commits

Author SHA1 Message Date
twolate0101
cdcaca645b Fix: Revert to 'nearest' scroll behavior to prevent unwanted jumping 2025-12-10 14:36:44 +08:00
twolate0101
f0f78d68da Fix: Revert to 'nearest' scroll behavior to prevent unwanted jumping 2025-12-10 14:08:15 +08:00
twolate0101
91c8519c72 Feat: Auto-scroll editor on content changes
新增了编辑器自动滚动跟随功能。
1. 修改了 CodePage.vue,移除了父容器的 overflow-auto 样式。
2. 配置了 CodeMirror 的 updateListener,监听文档变化。
3. 当光标位置变化时,使用 scrollIntoView 将视图滚动到底部,优化输入体验。
2025-12-10 11:20:36 +08:00
twolate0101
0b81d67882 Feat: Auto-scroll editor to cursor when content changes
新增功能:编辑器自动滚动跟随
1.修改了 CodePage.vue 文件,移除了父容器的 overflow-auto 样式
2.配置了 CodeMirror 的 updateListener, 监听文档变化
3.当光标位置变化时, 使用 scrollIntoView 将视图滚动到底部, 优化输入体验
2025-12-10 10:39:39 +08:00
lhx-666-cool
535841904a fixed some bugs (fixed #3, fixed #4) 2025-04-27 18:24:27 +08:00
lhx-666-cool
781ac3e52d fixed issue#3 & issue#4 2025-04-27 18:18:51 +08:00
lhx-666-cool
0ab7eb3399 change tab to four space 2025-04-26 10:59:23 +08:00
lhx-666-cool
8b5852f46b remove node_modules 2025-04-26 10:33:42 +08:00
lhx-666-cool
92f3dbcb5a add debounce 2025-04-25 21:35:50 +08:00
lhx-666-cool
37320b982c add debounce 2025-04-25 21:35:35 +08:00
lhx-666-cool
c8ced21ae7 add rewrite 2025-04-25 21:19:42 +08:00
lhx-666-cool
ef7107bc8f 114514 2025-04-25 21:05:32 +08:00
lhx-666-cool
a92e796078 add env 2025-04-25 21:03:43 +08:00
lhx-666-cool
f6cb277519 add web 2025-04-25 17:03:25 +08:00