481
questions
0
votes
0
answers
16
views
Trigger text selection UI in iOS Safari when selecting text programmatically
In iOS Safari, I'm able to select text programmatically using the following code. However, the text selection UI (selection handles and blue overlay) don't show, unless the user has already manually ...
0
votes
0
answers
53
views
How to select partial text using SwiftUI UITextView inside a ScrollView?
We are working on a SwiftUI-based project where we need the ability for users to select and copy specific parts of the text, rather than copying the entire text, as provided by SwiftUI's ....
1
vote
1
answer
75
views
Get selection offsets in JS/HTML with formatting information
I am building a web interface for annotating texts.
The user should select a portion of the text (using the mouse) and write some side notes about it. When I save the annotation, I need to keep the ...
0
votes
0
answers
33
views
Incorrect Word Selection and Cursor Behavior in RTL TextField with Special Characters
https://github.com/flutter/flutter/issues/155153#issue-2524461141
Steps to Reproduce:
Open Flutter's documentation on handling changes to a text field.
Paste the code from my code sample into the ...
0
votes
1
answer
52
views
SwiftUI text selection and sheet presentation conflict
I'm developing a SwiftUI application that includes a view displaying artwork details. This view contains several text fields with .textSelection(.enabled) to allow users to select text. However, I'm ...
0
votes
0
answers
24
views
Selecting multiple textviews with only one longclick
I am creating textviews on top of a imageview . I am detecting the text on the image and creating textviews with same position and sizes it works well but there is a problem
ı can only select the text ...
-1
votes
1
answer
73
views
Releasing and locking mouse events between multiple widgets
Straight to the point
I have multiple QLabel widgets inside QVBoxLayout.
When I press left mouse button and start dragging (I don't actually drag any widgets, I only move the mouse cursor while left ...
0
votes
0
answers
25
views
Preserve separately selectable Columns in PDF export of Excel document
When exporting Word documents or rendering LaTeX, you can designate columns and thus enable seperate selection of sections of the Document:
Meanwhile when exporting Excel, I could not find any way to ...
0
votes
1
answer
125
views
How can I change a TextInput's selection and fire its onSelectionChange event in unit testing?
I have a React Native component with a TextInput that I'm testing. Part of the behaviour of this component relies on handling the current selection position via onSelectionChange — that is, it matters ...
1
vote
1
answer
63
views
Text selection on flex reverse-column child happened in wrong direction
I'm trying to select text in flex reverse-column container but actual selection is wrong. Browser attempts to make selection from end of the element, that leads to wrong selection.
Example,
<...
0
votes
0
answers
26
views
C# - TextSelection is dimmed
I am maintaining a VSIX and I try to select the word at cursor with the DTE
I have this function so far, and although it does select the word at cursor, the selection is dimmed. I mean it does not ...
0
votes
0
answers
28
views
Unexpected behavior when selecting text in C# WinForms WebBrowser
I created a WinForms application using .NET Framework 4.5.2. When I select certain text in the WebBrowser control and change the active window, the selection does not turn gray, but simply disappears. ...
0
votes
0
answers
49
views
Get caret position and selection range of any input type without using selectionStart and selectionEnd
According to the WHATWG forms spec selectionStart property applies only to inputs of types text, search, URL, tel, and password. This useful solution to get the caret position and the selection range ...
1
vote
0
answers
46
views
Is it valid in Harfbuzz to specify repeating cluster IDs in the unicode input?
I'm writing code which needs to find the advances for each grapheme in the original text (e.g., for cursor positioning and selection), and I would like to use the Unicode grapheme boundaries rather ...
1
vote
2
answers
506
views
Detecting if a text is selected in Autohotkey
I need to check if any text selected in Autohotkey.
I have this function which works fine:
IsTextSelected()
{
SavedClip := ClipboardAll()
A_Clipboard := ""
Send("^c")
...