idea-multimarkdown: Wrap on typing and Table format do not take actual character widths into account for multi-byte characters
copied from #219
Table formatting produces unexpected results when typing multibyte characters. Would you have any plans to fix it? In case it is difficult to handle multibyes, it would be nice if we could disable auto formatting feature for table.
Environment:
- Ubuntu 14.04 LTS
- IntelliJ IDEA 2016.1
- Build #IU-145.970, built on April 18, 2016
- JRE: 1.8.0_76-release-b47 amd64
- JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
- Multimarkdown: 1.4.10 (Enhanced edition)
Expected result:
| マルチバイト |
|:-----------|
| Cell |
| Alphabet |
|:-----------|
| マルチバイト |
Actual result:
| マルチバイト |
|:-------|
| Cell |
| Alphabet |
|:---------|
| マルチバイト |
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 20 (10 by maintainers)
Commits related to this issue
- add eap dist 1.6.92 with fix for #223 actual char width taken into account for wrapping and table formatting. — committed to vsch/idea-multimarkdown by vsch 8 years ago
@cuiguojie, pre-releas EAP version with proper wrapping and table alignment based on character widths is now available: https://github.com/vsch/idea-multimarkdown/raw/master/dist/idea-multimarkdown.1.6.3.92.zip
Table column width matching is done +/- 1/2 space width of the display font, cumulative for the line.
Please let me know if you encounter any issues.
Here is the result of wrapping and formatting tables for source given below:
Source: