478 questions
2
votes
0
answers
41
views
In VSCode is there a way to switch ends in selection?
In VSCode editor (not terminal) while selecting text, usually anchor end will be fixed and expand/shrink happens only from cursor end. Now, is there a operation available in VSCode to switch anchor ...
1
vote
1
answer
165
views
Configure straight-column selection with mouse in VS Code
How can I configure Visual Studio Code to enable column selection (multi-line selection) like this:
Drag a line with Alt+Mouse 1
When crossing a line with lower indentation level, create indentation ...
0
votes
1
answer
191
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 ....
0
votes
1
answer
92
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 ...
-1
votes
1
answer
97
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 ...
1
vote
1
answer
123
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,
<...
1
vote
0
answers
90
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 ...
2
votes
2
answers
3k
views
Why does -webkit-user-select:text not work with button in safari?
This has been bothering me since August '23 when this was first reported, and I can't really find any authoritative answer.
Example: https://jsfiddle.net/1t8Lng2j/
Problem: Text within a <button>...
0
votes
1
answer
26
views
The jsTree plugin does not allow the user to select text using mouse
I'm using the jsTree latest plugin from https://www.jstree.com/.
By default the text inside the jsTree are hyperlinks and due to that, the user cannot select the text using mouse drag. I want to know ...
5
votes
2
answers
3k
views
Enabling Text Selection in Compose LazyColumn by selection container
I previously used a WebView to display a long text and style each word based on some business logic. However, I recently transformed this HTML content into a list of sentences and utilized a ...
5
votes
0
answers
310
views
How can I give focus to a TextField without any text being selected in flutter?
When I perform requestFocus() on a TextField that has any text, the text will become selected.
What I want is to have the cursor at the end, without selecting any text.
How can I give focus to a ...
0
votes
1
answer
159
views
Text Selection Pop Menu
if user Select a text there should be quicknote menu
will popup so I Need to show a popup menu when user select text in my flutter project .
I Need to show a popup menu when user select text in my ...
1
vote
1
answer
170
views
Text selection handles always visible
I’m developing an application that includes a Webview. After a user selects text in the Webview a panel slides up and expands on top of the Webview and can hide the selected text. In this situation ...
0
votes
1
answer
236
views
VBA word non-contiguous selection of all text instances
The code is meant to search through the current open Word document and select all instances of currently selected text. For example, I select "Casted" run the macro, and anywhere the text &...
1
vote
2
answers
628
views
only allow select text inside the element, and only if the selection starts inside it
similar question: CSS allow text selection within an element only
but that's not what I want
I get two sibling elements, if the user starts a text selection inside A, then I don't want any other text ...
4
votes
0
answers
880
views
How to select all text inside a SelectionContainer in Jetpack Compose?
Consider a LazyColumn inside a SelectionContainer that contains some composables like this:
SelectionContainer {
LazyColumn {
repeat(50) { n ->
item {
Row {
Text(&...
1
vote
0
answers
2k
views
how to change double click behavior in vscode editor to increase selected text scope
vscode editor double-clicking on words goes from single word selection to all line instead of gradually expanding the selection scope from word to text including quotations to full line.
The bracket ...
7
votes
2
answers
2k
views
Why is text selection not visible in GitHub or other websites using the Google Chrome browser?
Firefox and Edge do not have this problem.
When using Google Chrome browser, I am trying to select code or text. The text is selected, but it is not visible. The usual highlighting of the background ...
5
votes
1
answer
1k
views
How do I programmatically clear the selection of a SelectableText.rich in Flutter?
I am working with the SelectableText.rich widget in Flutter, and I am trying to figure out how to programmatically clear the user's selection (i.e. when they tap another part of the screen).
I have a ...
1
vote
1
answer
164
views
Exclude element from copied text in Safari
I want users to be able to copy-paste a block of text without also getting inline controls, like buttons.
In Chrome, applying user-select: none; to the controls accomplishes this. If the user selects ...
2
votes
0
answers
513
views
How can I do custom text selection in react native?
I just want to do a simple task here. Select some text and then do some manipulation on the selected text.
I have searched for over a day on custom selection in react native but couldn't find any ...
0
votes
0
answers
70
views
How do I NOT copy to the clipboard in JavaScript?
I have suddenly in recent months repeatedly suffered FF (last few??? versions) web pages overwriting my X primary selection ON THEIR OWN. This is an enormous vulnerability, as I usually paste with ...
0
votes
1
answer
527
views
Deselect (any) text programmatically Android Compose
I am using Android Compose ExposedDropdownMenu, but its text can be selected with a long press.
Using DisableSelection section does NOT help at all:
DisableSelection {
ExposedDropDownmenu(){......
0
votes
1
answer
784
views
Is it possible to fully disable text selection for input?(Bugged user-select in input element (Chrome) ?)
I've been trying to find a way to fully prevent text input text selection (Chrome, v. 104)
#testInput {
user-select: none;
pointer-events: none;
width: 100%;
}
<!DOCTYPE HTML>
<...
0
votes
0
answers
528
views
How to get text selection properties in Google Docs or Canvas
Is there a way to get the text selection properties from Google Docs? I am looking for something similar to window.getSelection() that works in Google docs or Canvas element.
I am developing a Chrome ...