ivarptr / yu-writer.site

A feature-rich, efficient text editor - Web Site
Apache License 2.0
1.2k stars 77 forks source link

编辑的文档能不能100%贴紧编辑区,而不是默认的A4排版 #541

Open nigoolasi opened 5 years ago

nigoolasi commented 5 years ago

Platform/操作系统类型 macOS? Windows? or Linux?

OS version/操作系统版本 macOS 10.13, 10.14, ... Windows 10 1709, 1803, ... Ubuntu 16.04, 18.04 ...

Application version/应用程序的版本号 x.y.z

Describe the bug/错误描述 A clear and concise description of what the bug is.

To Reproduce/如何重现该错误 (如果错误描述能说明清楚则忽略并删除该小节) Steps to reproduce the behavior:

  1. xxx
  2. yyy
  3. zzz

Screenshots/截图(如果截图能帮助描述问题的话则提供,不需要的则忽略并删除该小节) If applicable, add screenshots to help explain your problem.

hemashushu commented 5 years ago

@nigoolasi 是指当屏幕很大时编辑框左右留白太多这个问题吗?因为当编辑区太宽时,一行文字会显示很长有时会在视觉上错行,所以限制了最大宽度。如果觉得留白太多可以试试显示大纲栏,或者调宽即时预览栏/大纲栏,右或者(使用快捷键)调大字号。 另外当前版本(0.5.x)在编辑框不是很宽时,左右两侧的留白也确实是稍微偏大了,当时是想着留给左侧显示行号时让左右对称的,但忘记了当不显示行号时减少留白宽度。下一个版本已经修复了这个问题。谢谢你的意见!

nigoolasi commented 5 years ago

嗯,谢谢你这么走心的回答 ,还有不知道能不能阅读视图下也把两侧的留白也少些,这样的话,我比较喜欢最大化利用屏幕空间。

hemashushu commented 5 years ago

这个也有,0.6 的阅读视图的布局更改较大,外观上长得跟电子书阅读器差不多(比如 kindle 程序),即可以调整字体字号行高页宽和主题色等等。