Xcode 在打字时滚动文本
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能会遇到一个错误,即当同一文件上打开第二个窗口时,一个文本视图会意外滚动。 如果发生这种情况,请确保该文件未在任何其他窗口中打开。
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.
我在 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.