Xcode 在打字时滚动文本

发布于 2024-07-20 18:24:08 字数 244 浏览 3 评论 0原文

Xcode 今天似乎做了一些烦人的事情。

我喜欢编辑源代码,这样我就可以在 Xcode 窗口的垂直中心大致输入内容。 我不喜欢在窗口底部或顶部附近键入,因为它隐藏了我正在忙于编辑的代码之前或之后的代码。

最近,在编辑实现文件时,Xcode 习惯于滚动文本,以便我在靠近窗口底部的位置进行编辑。 每次发生任何代码完成时都会触发此滚动。

有没有人见过这个? 如果是这样,我该如何将其关闭或者这只是一个错误?

Xcode seems to be doing something annoying today.

I like editing my source code so that I'm typing roughly in the vertical center of my Xcode window. I don't like typing near the bottom or the top of the window as it hides code right before or right after the code I'm busy editing.

Lately, while editing an implementation file, Xcode has a habit of scrolling the text so that I'm editing close to the bottom of the window. This scrolling is triggered every time any code completion takes place.

Has anyone seen this before? If so, how can I turn it off or is it simply a bug?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

爱她像谁 2024-07-27 18:24:08

您可能会遇到一个错误,即当同一文件上打开第二个窗口时,一个文本视图会意外滚动。 如果发生这种情况,请确保该文件未在任何其他窗口中打开。

You may be encountering a bug where one text view scrolls unexpectedly when a second window is open on the same file. Make sure that the file is not open in any other windows if this is what's happening.

口干舌燥 2024-07-27 18:24:08

我在 Xcode 5 及更早版本中也注意到了这一点。 Apple 似乎已在 Xcode 6 中修复了此问题。我正在运行 Xcode 6.4,但不再发现该问题。

I also noticed this in Xcode 5 and earlier. It appears that Apple has fixed this in Xcode 6. I am running Xcode 6.4 and no longer see the issue.

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