简体   繁体   English

如何在AvalonEdit中设置相等的字符间距,以使可视行列与文档行列相同

[英]How do I set equal character spacing in AvalonEdit such that visual line columns are the same as document line columns

I'm wrapping AvalonEdit into a custom control and I'm trying to display a text file using equal character spacing such that it behaves similarly to notepad. 我将AvalonEdit包装到自定义控件中,并尝试使用相等的字符间距显示文本文件,以使其行为类似于记事本。 I've done quite a bit of digging but I can't seem to find which property I need to flip to get equal character spacing. 我做了很多挖掘工作,但似乎找不到要翻转以获取相等字符间距的属性。

Thanks 谢谢

Quick fix here. 在这里快速修复。 I found that if I just change the font to Consolas it works out just fine. 我发现,如果我只是将字体更改为Consolas,那么效果很好。 I'm going to stick to this for now. 我现在将坚持这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM