Description: I noticed that on one slide, the selection border for monotype font doesn't match the actual text on the slide. It appears to me that the links themselves break at the end of the text box, but the selection "assumes" these links to be present in one line only. Steps to Reproduce: 1. Open the attached presentation with one slide. 2. Click into the textbox on the first and only slide so you can edit the text. 3. Select the whole text by pressing Ctrl+A (Cmd+A on Mac). Actual Results: The selection doesn't match the actual text. It appears that the selection assumes that the links contained on that slide don't line-break on that slide, but they do. Expected Results: The selection matches the actual text. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.2.0.3 (X86_64) / LibreOffice Community Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069 CPU threads: 8; OS: macOS 12.7.6; UI render: default; VCL: osx Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded
Created attachment 199372 [details] testcase
Created attachment 199373 [details] screenshot
Reproducible Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7a84593ec130b41da35d98fe7d45a71706935909 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (es_ES); UI: en-GB Calc: CL threaded Resetting the text format makes the selection works fine.