Page 1 of 2
Not nice vertical carets line for CJK chars
Posted: 27.09.2018 01:14
by powerpcer
when selected the end of line in column mode with CJK character, cursor will goes randomly selected, cannot make it vertical straightly
like :

- CJK
or mixing CJK
like:

- mixing
but if it pure ASCII character line. it will
like:

- ASCII only
Posted: 27.09.2018 01:18
by powerpcer
this problemcan be solved like this step
1. select start from the longest line

- seleted
2. move cursor to right

- moving
3.move back to position

- back to started column
solved!!
Posted: 27.09.2018 01:34
by powerpcer
and Akelpad can just straight column select and then paste. no more action.
Posted: 27.09.2018 04:57
by Alexey
if it is incorrect display of column carets on right, (not nice), it's not problem.
column block still has n chars in each line, correct. only display of carets is not nice. i cannot easily make nice carets for CJK chars.
Posted: 27.09.2018 07:00
by powerpcer
up to you, but for me, that's a problem. some job i have to change to others editor.
and that is not only display problem. because the position is not correct.
here is the test sample:
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'功能名稱
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'動作
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'建立人員編
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'建立人全名
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'建立日期
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'建立人單位
EXEC sys.sp_addextendedproperty @name=N'MS_DESCRIPTION', @value=N'建立人單位名稱
EXEC sys.sp_addextendedproperty @name=N'功能名稱 MS_DESCRIPTION', @value=N'aaaaaa
EXEC sys.sp_addextendedproperty @name=N'動作 MS_DESCRIPTION', @value=N'bbb
EXEC sys.sp_addextendedproperty @name=N'建立人員編 MS_DESCRIPTION', @value=N'ccccccccc
EXEC sys.sp_addextendedproperty @name=N'建立人全名 MS_DESCRIPTION', @value=N'ddddddddd
EXEC sys.sp_addextendedproperty @name=N'建立日期 MS_DESCRIPTION', @value=N'eeeeee
EXEC sys.sp_addextendedproperty @name=N'建立人單位 MS_DESCRIPTION', @value=N'ffffffff
EXEC sys.sp_addextendedproperty @name=N'建立人單位名稱MS_DESCRIPTION', @value=N'gggggggggggggg
Posted: 27.09.2018 09:22
by Alexey
i see that selection is correct. only carets not aligned becoz CJK width is bigger. but if i select n chars in last line,
all lines have n chars. text block is correct. all lines have n chars.
visually carets not aligned but all lines have same count chars.
Posted: 27.09.2018 13:58
by powerpcer
i change notepad++ to the same font as cudatext that i used, its alignment still can be correct.
Posted: 28.09.2018 23:29
by powerpcer
algo: when column select to the end of line with different length
if (this line length < then start line) then
pad space to make it same length, so the pasting to this, just let added space there
if (column copied pasting to new line) then
trim trail space.
Posted: 05.10.2018 05:17
by powerpcer
in 1.63.0, this problem still there.
Posted: 05.10.2018 18:54
by Alexey
as I wrote, I consider it as not a bug.