question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot select text in multi-line SelectableTextBlock easily

See original GitHub issue

Describe the bug I dont really know how to explain the bug but it is difficult to select text manually in a SelectableTextBlock that has multiple lines in it. See the video below.

To Reproduce Steps to reproduce the behavior:

  1. Add a SelectableTextBlock.
  2. Add some texts with multiple line.
  3. Try to select the text as shown in the video.

Expected behavior Can easily select the text inside the control as shown with Notepad in the latter part of the video below.

Desktop (please complete the following information):

  • OS: Windows
  • Version 11.0.999-cibuild0032750-beta

Additional context Sample project

https://user-images.githubusercontent.com/12814796/230022153-e57ba4b2-832b-4f1c-ae6e-7e0ddd2533eb.mp4

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
Gillibaldcommented, Jul 25, 2023

Fixed in current master

0reactions
BAndysccommented, Jul 25, 2023

+1 it is pretty annoying. Anyway, thank you a lot for the text rework in Avalonia 11, including new SelectableTextBlock 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selectable TextBlock - wpf
The problem is the text is not selectable (copy) in a TextBlock. In TextBox you can select (copy) but cannot markup (e.g. <Run..></Run>)...
Read more >
I cannot select text and multiple lines easily to copy and ...
When I use Word, I cannot select multiple words within a line or multiple lines easily. I can select entire individual lines. This...
Read more >
MultiLine Text Selection
Clear all selections by clicking without holding ctrl. Undo the most recent selection with ctrl+z. On Macs, use cmd instead of ctrl. Lock ......
Read more >
Forms - Multi-line text box option not working?
I'm working on creating my first form and I'd like to have a larger text box. However when I try to select the...
Read more >
Selecting columns of text across multiple lines #Shorts
Did you know this neat little trick, which works in lots of text editors? You can select a *column* of characters from a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found