光标从位置偏移 [英] Cursor shifted from position

查看:73
本文介绍了光标从位置偏移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 RStudio 控制台或脚本编写区域的给定行上,光标在屏幕上闪烁时从其插入文本的真实位置偏移.假设我想删除给定行上的一个字符.我在它的正前方单击,红色光标在它应该闪烁的地方闪烁.但是当我按退格键时,左边六个点的字符被删除了.随着行的继续,这种行为变得更糟,因此在长行的末尾附近,偏移量为 13 个字符,而在屏幕最左侧只有 1 或 2 个字符.我使用 Ubuntu Linux 12.10(带有 MATE GUI).

On a given line of the RStudio console or script writing area, the cursor as it flashes on the screen is shifted from its true position, where text is inserted. Say I want to delete a character on a given line. I click right in front of it, and the red cursor flashes where it should. But when I press backspace, the character six spots to the left gets deleted instead. This behaviour gets worse as the line goes on, so near the end of a long line, the offset is of 13 characters while it is only of 1 or 2 characters in the far left of the screen. I use Ubuntu Linux 12.10 (with MATE GUI).

推荐答案

问题出在 RStudio 字体设置中.我一下子全部更改了它们,偏移量消失了.我把设置一一改回原来的值,直到最后,偏移量没有回来.RStudio 支持帮助我解决了这个问题.

The problem was in the RStudio font settings. I changed them all at once and the offset vanished. I changed the settings back to their original values one by one till the last, and the offset did not come back. RStudio support helped me through this.

这篇关于光标从位置偏移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆