为什么 TextMate 将两个空格视为单个字符?

发布于 2024-07-26 21:42:29 字数 331 浏览 5 评论 0原文

当我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

嘿咻 2024-08-02 21:42:29

双倍间距是由软标签引起的。 在 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.

缪败 2024-08-02 21:42:29

认为 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文