为什么 TextMate 将两个空格视为单个字符?
当我在 TextMate 1.5.7 中输入两个空格时,在某些情况下,它似乎将这两个空格视为单个字符。
例如,当输入 ("[space][space]")
(" |")
\_ the cursor
如果我然后按退格键,两个空格都会被删除,如果我按向左箭头,它会跳过两个空格(这令人惊讶地烦人)
这与我的软选项卡设置(设置为 4 个空格软选项卡)无关。还有其他人注意到这一点吗?或者我的配置是否有些奇怪(不太可能发生在全新安装、新操作系统安装上)?
我已经更新到 v1.5.8,问题仍然存在。
When I enter two spaces into TextMate 1.5.7, under certain circumstances it seems to treat the two spaces as a single character..
For example when typing ("[space][space]")
(" |")
\_ the cursor
If I then press backspace, both spaces get deleted, and if I press the left arrow it jumps both spaces (which is surprisingly annoying)
It's nothing to do with my soft-tabs setting (which is set to 4 space soft-tab).. Has anyone else noticed this?, or is it something strange with my configuration (unlikely as it happened with a clean install, on a new OS install)?
I've since updated to v1.5.8, and the issue remains.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
双倍间距是由软标签引起的。 在 Textmate 底部的列指示器、行指示器、文件类型和选项卡大小指示器所在的位置,单击软选项卡下拉菜单,然后单击软选项卡将其关闭。
The double spacing is caused by soft tabs. At the bottom of Textmate where the column indicator, line indicator, file type, and tab size indicators are, click on the soft tabs drop down and click soft tabs to turn it off.
认为 textmate 是程序员的编辑器。 在大多数编程语言中,空格的数量并不重要,所以在我看来这并不奇怪。
反正我用的是1.5.8,没有这个问题。 我还查看了配置窗口,但看不到任何内容。
Consider that textmate is an editor for programmers. in most programming languges the number of spaces doesn't matter, so it doesn't seem to me that strange.
Anyway, I use 1.5.8 and I don't have this problem. I also looked in the configuration window and I can't see anything about it.