日食上的垂直白线 [英] Vertical white line on eclipse

查看:94
本文介绍了日食上的垂直白线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

线程:


更改了编辑器的背景颜色后,禁用
,然后重新启用代码折叠,然后单击应用,这似乎可以解决颜色
的问题,但是会保留难看的白线分隔符。



首先禁用折叠方式



然后,每当您打开新的编辑器时,折叠的列就不会出现(默认)(首选项-> C ++-> Editor-> Folding)。是
可用。



现在,打开一个新的编辑器,在rt的文本最左边单击鼠标右键(如果
是数字,重新启用),然后选择启用折叠(或按ctrl
+ numpad-divide)。



然后,默认情况下将要折叠的所有内容折叠,并且
的折叠+和-在深色背景上可用-不会出现
颜色故障。



Possible Duplicate:
Is it possible to make Eclipse's code-folding gutter black?

The white line was invisible on default color scheme but when I applied different color scheme it appeared ..

The white line contains code folding buttons also ..

解决方案

Taken from this thread:

"After you change the background color of the editor, disable then re-enable code folding and click apply this seems to fix the color problem however keeps that ugly white line separator."

or

"First disable folding by default (preferences->C++->Editor->Folding) for new editors.

Then, whenever you open a new editor the folding 'column' wont be available.

Now, open a new editor, rt-click on the far left of the text (the line numbers if they're enabled) and select 'enable folding' (or press ctrl + numpad-divide).

Then, anything that is to be folded by default will be folded and the folding +'s and -'s will be available on the dark background - no colour glitches".

这篇关于日食上的垂直白线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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