Not nice vertical carets line for CJK chars

powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Not nice vertical carets line for CJK chars

Post 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
CJK
or mixing CJK
like:
mixing
mixing

but if it pure ASCII character line. it will
like:
ASCII only
ASCII only
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

this problemcan be solved like this step
1. select start from the longest line
seleted
seleted
2. move cursor to right
moving
moving
3.move back to position
back to started column
back to started column
solved!!
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

and Akelpad can just straight column select and then paste. no more action.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post 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
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

i change notepad++ to the same font as cudatext that i used, its alignment still can be correct.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post 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.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

in 1.63.0, this problem still there.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

as I wrote, I consider it as not a bug.
Locked