1. Lead
When I recently wrote a document, I searched for a tool on the Internet and found the docbook. I felt very suitable for writing technical articles. I also had several docbook tutorials on the Internet, generally, when writing an article in docbook, it should be written in the format of docbook. This is a bit uncomfortable for people who have been writing a document in word. Is there an IDE for writing a docbook? Yes. This is xmlmind. There is no difference between writing documents with xmlmind and using word. All tags are built in, so you can easily insert and modify them. I'm glad to use xmlmind to write a document and test it. Basically, I found that when you write a long line, he didn't automatically wrap it. The line feed I said is not a real line feed, because there is no need to worry about line breaks in the docbook, and long text should be placed in a Para, and will be automatically wrapped when converted to other formats (such as HTML; I am talking about the line feed on the display. At least we can make it more comfortable when editing. What should we do?
2. Solution
To solve the above problems, I have tested and found that you can set the display options as follows:
Options-> there is a "Wrap words wider than avalible space" under the view. OK, that is, it is him. Select this option and return to the interface. All the words that exceed the editor will be automatically wrapped, which is really comfortable.