MSVC 2013编辑器选项卡呈现问题 [英] MSVC 2013 Editor tab rendering issues
问题描述
这很烦人.
使用默认的consolas字体14pt,制表符大小&缩进设置为4,结果是,编辑器无法正确显示/处理选项卡.
With the default consolas font, 14pt, tab size & indent set to 4, what happens is, the editor doesn't show/process tabs correctly.
例如:
#define SET1_CLOSING [tab] 2
#define SET1_CLOSING[tab]2
显示为"#define DROP_CLOSING2",使用默认的consolas字体.
is shown as "#define DROP_CLOSING2" with the default consolas font.
G&之间仍然有一个标签2,但是,它没有显示!
There still is a tab between the G & 2, but, it don't show it!
使用具有consolas字体(14磅)的Notepad ++,它正确显示为:
using Notepad++ with consolas font, 14 pt, and it shows it correctly as:
#define DROP_CLOSING [tab] 2
#define DROP_CLOSING[tab]2
以下是选择了匿名字体的图片:
Here is a picture with Anonymous font selected:
这是选择Consolas字体后的样子:
And here is what it looks like with Consolas font selected:
在上面的示例中发生的* only *更改是字体,没有其他内容.
The *only* thing that has changed in the above example is the font, nothing else.
不用说,这很烦人,它不仅限于这些语句,而且很普遍,如此处所示(* edit,请参阅下一篇文章,每条消息我只能附加2张图片)
Needless to say, this is highly annoying, and it isn't only limited to those statements, it is widespread, as seen here (*edit, see next post, I can only attach 2 images per message)
显然,这是一种错误,因为无论选择哪种字体,NotePad ++都可以正确显示和呈现它.
Obviously, this is a bug of some kind, since NotePad++ can display and render it correctly, no matter what font is selected.
推荐答案
根据我上面的编辑...
As per my edit above...
是的,在void和initBasket1Messages(void)之间有一个制表符!
Yes, there IS a tab between void and initBasket1Messages(void)!
这篇关于MSVC 2013编辑器选项卡呈现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!