CudaText icon indicating copy to clipboard operation
CudaText copied to clipboard

viewer: not fully OK wrapping position for CJK text

Open Alexey-T opened this issue 6 months ago • 13 comments

Image

text wrapped after 1. but it must be wrapped later.

file

Cudatext.2.txt

Alexey-T avatar Jun 07 '25 06:06 Alexey-T

@sr79368142 must be fixed now. test this win64 beta:

cudatext.zip

Alexey-T avatar Jun 07 '25 06:06 Alexey-T

@sr79368142 must be fixed now. test this win64 beta:

cudatext.zip

Please set the margins on the right side of the editor window, the last column of the text content on the right side will be out of the window.

sr79368142 avatar Jun 07 '25 06:06 sr79368142

Pls explain this more: what margins, what is out of window? picture?

viewer has margin line??

Alexey-T avatar Jun 07 '25 06:06 Alexey-T

Pls explain this more: what margins, what is out of window? picture?

viewer has margin line??

You can see that the text in the last 1 column on the right is out of the editor window.

Image

sr79368142 avatar Jun 07 '25 06:06 sr79368142

made a fix for it. beta:

cudatext.zip

Alexey-T avatar Jun 07 '25 06:06 Alexey-T

made a fix for it. beta:

cudatext.zip

It would be nice if the margins were wider, this one is still a bit tight.

sr79368142 avatar Jun 07 '25 07:06 sr79368142

before my last fix: margin = ClientWidth - cell_x

after my fix: margin = ClientWidth - 2 * cell_x

do you suggest to increase new margin by 0.5 * cell_x ?

Alexey-T avatar Jun 07 '25 07:06 Alexey-T

before my last fix: margin = ClientWidth - cell_x

after my fix: margin = ClientWidth - 2 * cell_x

do you suggest to increase new margin by 0.5 * cell_x ?

1-2, should be fine, 0.5 is still a bit narrow.

sr79368142 avatar Jun 07 '25 07:06 sr79368142

no, I mean: do you suggest

margin = ClientWidth - 1.5 * cell_x ?

I don't understand what is 'tight' in new beta.

Alexey-T avatar Jun 07 '25 07:06 Alexey-T

no, I mean: do you suggest

margin = ClientWidth - 1.5 * cell_x ?

I don't understand what is 'tight' in new beta.

It means that the text in the last 1 column is still a bit close to the window border, it would be nice to be able to adjust it a bit more.

Image

sr79368142 avatar Jun 07 '25 07:06 sr79368142

decreased margin. beta:

cudatext.zip

Alexey-T avatar Jun 07 '25 07:06 Alexey-T

decreased margin. beta:

cudatext.zip

Alexey, it's already perfect! You are amazing! You can close this feedback now!

sr79368142 avatar Jun 07 '25 07:06 sr79368142

@Alexey-T It would be nice if the viewer scrollbar followed the theme, the white colour is a bit harsh.

sr79368142 avatar Jun 07 '25 07:06 sr79368142

'new' scrollbars in the viewer: possible to add. but not now. it's complex task. you may make new issue for this wish for later time.

closing this issue.

Alexey-T avatar Jun 10 '25 20:06 Alexey-T