Mercurial > vim
comparison runtime/doc/change.txt @ 20695:cea8ae407452 v8.2.0901
patch 8.2.0901: formatting CJK text isn't optimal
Commit: https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 4 18:22:13 2020 +0200
patch 8.2.0901: formatting CJK text isn't optimal
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes https://github.com/vim/vim/issues/3875)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Jun 2020 18:30:04 +0200 |
parents | 56265f711890 |
children | 661eb972cb22 |
comparison
equal
deleted
inserted
replaced
20694:3a049f4bdaa2 | 20695:cea8ae407452 |
---|---|
1686 character. Overrules the 'B' flag. | 1686 character. Overrules the 'B' flag. |
1687 B When joining lines, don't insert a space between two multi-byte | 1687 B When joining lines, don't insert a space between two multi-byte |
1688 characters. Overruled by the 'M' flag. | 1688 characters. Overruled by the 'M' flag. |
1689 1 Don't break a line after a one-letter word. It's broken before it | 1689 1 Don't break a line after a one-letter word. It's broken before it |
1690 instead (if possible). | 1690 instead (if possible). |
1691 ] Respect textwidth rigorously. With this flag set, no line can be | |
1692 longer than textwidth, unless line-break-prohibition rules make this | |
1693 impossible. Mainly for CJK scripts and works only if 'encoding' is | |
1694 "utf-8". | |
1691 j Where it makes sense, remove a comment leader when joining lines. For | 1695 j Where it makes sense, remove a comment leader when joining lines. For |
1692 example, joining: | 1696 example, joining: |
1693 int i; // the index ~ | 1697 int i; // the index ~ |
1694 // in the list ~ | 1698 // in the list ~ |
1695 Becomes: | 1699 Becomes: |