The Wayback Machine - https://web.archive.org/web/20210109211145/https://github.com/oncework/codeexpander/issues/53
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
clPointer opened this issue Nov 18, 2020 · 0 comments
Open

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

clPointer opened this issue Nov 18, 2020 · 0 comments

Comments

@clPointer
Copy link

@clPointer clPointer commented Nov 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.