如何设置Eclipse以禁用宽字符显示?

huangapple go评论48阅读模式
英文:

How do I setup Eclipse to disable wide-character display?

问题

这个问题出现在具有更新版本Eclipse的高清屏幕上。
字符呈现是高清的特色,具有非常宽的字符,可能被认为更美观,但在屏幕上占用太多空间,特别是在已经减小的屏幕部分进行代码比较时。

有一个名为“切换块选择模式(Alt + Shift + A)”的图标按钮,它启用列模式编辑。在我的情况下,该按钮改变了屏幕上字符的呈现方式,使它们看起来更窄,就像在“高清”之前显示的方式。通常情况下,这个按钮不应该改变文本呈现方式。在其他计算机上,特别是在我的工作场所,它不会改变任何东西,如预期的那样。

是否有办法可以设置Eclipse或Windows来禁用那种宽字符的显示?

英文:

This issue happens on HD screens with newer version of Eclipse.
The character rendering is special and typical of HD with very wide characters that may be considered more beautiful but take too much space on screen, especially when doing code comparisons on an already reduced portion of screen.

There is an icon button called "Toggle Block Selection Mode (Alt + Shift + A)" that enables column mode editing. In my case that button changes how characters are rendered on my screen, and make them look more narrow, and like the display used to be before "HD". Normally, this button is not supposed to change anything to how the text is rendered. On other computers, especially at my workplace, it does not change anything, as expected.

如何设置Eclipse以禁用宽字符显示?

Is there a way I can setup Eclipse or Windows to disable that wide-character display ?

答案1

得分: 0

> 36.52 当我切换到块(列)选择模式时,字体发生变化。请确保文本字体和文本编辑器块选择字体相同:在常规 > 外观 > 颜色和字体 中,右侧列表中,在基本类别下,您应该看到文本字体和文本编辑器块选择字体。这两个字体应该相同。

英文:

> 36.52 When I switch to Block (Column) Selection mode the font changes Please make sure the Text Font and the Text Editor Block Selection
> Font are the same:
>
> go to General > Appearance > Colors and Fonts
>
> in the list on the right, under the Basic category you should see
>
> Text Font
>
> Text Editor Block Selection Font
>
> The fonts should be the same

https://dvteclipse.com/documentation/e/When_I_switch_to_Block_.28Column.29_Selection_mode_the_font_changes.html

In my case the difference is probably "Courrier New" vs "Consolas" font.

But how that configuration mess was introduced is still a mystery.

huangapple
  • 本文由 发表于 2023年4月17日 22:07:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76036054.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定