Text Expander/cursor-handling bug
维护者通常 1 天内回复
@LeanBitLab 已经在做这个了。
开始于 2026年10月20日。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 62/100
调研方向
Start by tracing how Text Expander handles the %cursor% marker and inserts the expansion text; the report names no source files or tests. Reproduce with AB%cursor%CD in Markor, then compare the result after typing x with the expected ABxCD; the issue is done when no extra space appears before the typed character.
由索引模型根据 Issue 内容生成。
描述
Description of the bug
LeanType is seen inserting an unwanted space before the typed character while using %cursor% in Text Expander shortcuts.
This seems to be a LeanType Beta 4.2.9 Text Expander/cursor-handling bug, not a mistake in the shortcut templates. Happens in ChatGPT, Markor, MiXplorer and WhatsApp.
To Reproduce
- In Text Expander, create shortcut zzx.
- Set its expansion to exactly AB%cursor%CD — no spaces anywhere.
- Trigger the expansion in Markor.
- Type x.
Expected behavior
The official LeanType repository documents %cursor% as placing the cursor at the specified position. So,
- Expected result: ABxCD.
- Obtained result: AB xCD.
App version & Flavor
v4.2.9 beta9 standard
Device Info
- OnePlus 11 5G
- OxygenOS Android 14
- 主要语言
- Kotlin
- 星标
- 1k
- 派生
- 59
- 平均合并
- 13 小时 11 分钟
- 30 天内合并 PR
- 47
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LeanBitLab/LeanType 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
LeanBitLab/LeanType#713 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
LeanBitLab/LeanType#423 · 1 条评论 ·
维护者通常 1 天内回复
-
Crush Report未关闭
难度 3/5 1-2 天 新手友好度 20/100
LeanBitLab/LeanType#715 ·
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
LeanBitLab/LeanType#699 ·
维护者通常 1 天内回复
-
support minicpm未关闭enhancement
难度 4/5 3-5 天 新手友好度 30/100
LeanBitLab/LeanType#698 ·
维护者通常 1 天内回复
查看 LeanBitLab/LeanType 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
apache/cassandra-easy-stress#112 ·
-
afk-ok area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 75/100
enorm-labs/event-junkie#3767 ·
维护者通常 1 天内回复
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 84/100
hesreallyhim/awesome-claude-code#3201 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
software-mansion/starknet-jvm#641 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
leboncoin/spark-android#2342 ·
维护者通常 1 天内回复