硬包和软包的区别? [英] Difference between hard wrap and soft wrap?

查看:35
本文介绍了硬包和软包的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个文本编辑器.在查看其他文本编辑器后,我注意到其中一些是指软"与硬"换行.有什么不同?我似乎无法通过搜索找到答案.

I am in the process of writing a text editor. After looking at other text editors I have noticed that a number of them refer to a "soft" versus "hard" wrap. What is the difference? I can't seem to find the answer by searching.

推荐答案

硬换行在文本的换行点处插入实际换行符,软换行实际文本仍然在同一行,但看起来像是分成了几个线.

A hard wrap inserts actual line breaks in the text at wrap points, with soft wrapping the actual text is still on the same line but looks like it's divided into several lines.

这篇关于硬包和软包的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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