oncework / codeexpander

A cross-platform cloud synchronization (Github/Gitee) development efficiency tool that integrates input enhancement and code snippet management specifically for developers. 专为开发者开发的一个集输入增强、代码片段管理为一体跨平台云同步(Github/Gitee)的开发效率工具。
https://codeexpander.com
449 stars 30 forks source link

内嵌代码跳转的逻辑待优化 #53

Open clPointer opened 3 years ago

clPointer commented 3 years ago

举个例子,我想用codeexpander写latex, 我创建了片段 lf,对应着行内公式: $\displaystyle (光标1) $ (光标2) sb,对应着上标: ^{(光标1)} (光标2) 单独使用没什么问题,按下跳转指令键就能从光标1到光标2 但是两者嵌套使用就出现问题了,在lf中的光标1处输入sb,替换之后光标直接跳转到lf的末尾,