光标从位置转移(Cursor shifted from position)

编程入门 行业动态 更新时间:2024-10-26 06:30:38
光标从位置转移(Cursor shifted from position)

在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.

更多推荐

本文发布于:2023-08-07 13:52:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464703.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:光标   位置   Cursor   shifted   position

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!