Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.48k stars 171 forks source link

text-viewer on macOS: blurry font; word-wrap is wrong; selection is highlighted incorrectly #5293

Closed papirosko closed 8 months ago

papirosko commented 10 months ago

Cuda 1.76.0.0. Macos: Sonoma 14.1.1.

File size is 1.37Gb. Opened with Viewer - text mode. The fonts are too smooth:

image

Copied the 1st line from that file and pasted into new document:

image

Also selection is broken. Here I doubleclicked on official word:

image
JairoMartinezA commented 8 months ago

Alex, the only "shifted" what I can see is as follow when I caret in ONLY word: (Before update sources)

https://github.com/Alexey-T/CudaText/assets/5806694/0c7d7189-e318-4c2f-8a4e-0c71293b85fc

Testing with new sources...

UPDATE: I don't change here. Have you steps to repro?

https://github.com/Alexey-T/CudaText/assets/5806694/c0300ca5-b4a5-4a15-876d-1ce6d3318f57

Alexey-T commented 8 months ago

Jairo, tested wrong, you testted the EDITOR (caret and line-states are on your video) but bug was with VIEWER (no caret, different gutter).

Use these commands to activate viewer

Screenshot from 2024-01-16 17-04-41

JairoMartinezA commented 8 months ago

Yes, Alex, I can see the difference with the new fix; everything is OK.

Do you want me to prepare new distros?

Alexey-T commented 8 months ago

ok, so I consider that all 3 items reported in this issue - fixed.

Do you want me to prepare new distros?

Yes, please.

JairoMartinezA commented 8 months ago

Alex,

Small issue, double click is selecting two adyacente words

https://github.com/Alexey-T/CudaText/assets/5806694/9773d65d-b0f0-4752-a29f-2c3addb84ffa

Alexey-T commented 8 months ago

I saved this issue to #5357 for later.