TortoiseMerge - Wrap long lines issue while showing fullwidth characters

57 views
Skip to first unread message

Yue Lin Ho

unread,
Dec 21, 2017, 10:12:34 PM12/21/17
to TortoiseSVN
Hi, 

I got a file with the content:

0123456789012345678901234567890123456789
01234567890123456789

the first line has halfwidth characters,
and second line has fullwidth characters.

Enable the "Wrap long lines" of TortoiseMerge. See:


If resizing windows to something like this:


As you can see, wrapping has some issue.

cf.


Yue Lin Ho


Yue Lin Ho

unread,
Dec 21, 2017, 10:14:32 PM12/21/17
to TortoiseSVN
Version information:
 
TortoiseSVN 1.9.7, Build 27907 - 64 Bit , 2017/08/08 19:34:38
Subversion 1.9.7, -release
apr 1.5.2
apr-util 1.5.4
serf 1.3.9
OpenSSL 1.0.2l  25 May 2017
zlib 1.2.8
SQLite 3.14.1

Yue Lin Ho

unread,
Dec 21, 2017, 10:15:59 PM12/21/17
to TortoiseSVN
See attachment as testing file.
abc.txt

Stefan

unread,
Dec 23, 2017, 3:00:04 AM12/23/17
to TortoiseSVN


On Friday, December 22, 2017 at 4:12:34 AM UTC+1, Yue Lin Ho wrote:
Hi, 

I got a file with the content:

0123456789012345678901234567890123456789
01234567890123456789

the first line has halfwidth characters,
and second line has fullwidth characters.

for performance reasons, TMerge assumes that all chars have the same width.
That won't change - performance is more important than such very very special cases.
Sorry.

Stefan

dann...@gmail.com

unread,
Dec 27, 2017, 2:36:25 AM12/27/17
to TortoiseSVN
Stefan於 2017年12月23日星期六 UTC+8下午4時00分04秒寫道:
This is NOT a "very very special case" since ALL CJK CHARS ARE FULLWIDTH, and any project that contains CJK strings (such as language packs, which is VERY COMMON for a project that is internalized) are ALL AFFECTED.

In my opinion, bad wrapping is not big deal, what causes this issue bad is that THE HORIZONTAL SCROLLBAR DOESN'T WORK, and the user cannot scroll right to view the "hidden" string at all.

I'm not quite sure whether the horizontal scrollbar issue is same as this, though. If they are not, is it possible to at least make the horizontal scroll bar work correctly so that the user is at least able to scroll to view the "hidden" content even if the width is not detected correctly? If it's still not viable, can we regard all chars as fullwidth (or add an option to do so) to avoid strings being hidden (at a cost that halfwidth chars be wrapped to much)?
Reply all
Reply to author
Forward
0 new messages