Questions tagged [textselection]

In User Interface Design, text selection is the method of handpicking a portion of text, most commonly for the purpose of copying/cutting/pasting.

In User Interface Design, text selection is the method of handpicking a portion of text that will be further acted upon by the user. The selection is done by the interaction devices provided by the user interface.

Text selection is most commonly associated with the user actions of copying, cutting, and pasting. In Graphical User Interface, text selection is performed by a mouse or touch represented as cursors.

459 questions
0
votes
1 answer

How to disable text selection in TextArea (JavaFX)?

I want to disable the user's ability to select text in textArea of JavaFX. How can this be done?
chaim770
  • 49
  • 1
  • 1
  • 8
0
votes
1 answer

Vim - visually select multiple non-consecutive sections

Is there a way in VIM to visually select multiple sections / non-consecutive lines in a document that are not directly connected? My goal is to copy certain parts of a document to a different one, open on a different buffer in the current VIM…
Eike
  • 451
  • 1
  • 4
  • 17
0
votes
0 answers

macOS macCatalyst WKWebView text selection behavior

The text selection behavior in a WKWebView seems wrong when compiled with macCatalyst. Normally it's possible to expand and contract a selection. In a WKWebView on macCatalyst it seems that it's impossible to contract the selection. This is…
Johannes Fahrenkrug
  • 42,912
  • 19
  • 126
  • 165
0
votes
1 answer

WYSIWYG - Keep textarea selection selected after surrounding it in tags?

Edit: Just as I posted this I found a piece of code that does it easily. :D This post has a jQuery solution that works perfectly for me. I have a script that adds BBCode tags around the selected text in a textarea when the user clicks on a button,…
Jordan
  • 1
  • 2
0
votes
0 answers

How to disallow highlighting selection text by USER but not for unless especially only by SCRIPT?

I have the script to can be make something conflict each others and make me also confuse to solve it. Just through to the point see at my script below : ====================================== CSS…
0
votes
4 answers

How do I access the user selected text within an element ui input?

I want to access the text within an ElInput component via Javascript in Electron. According to mozilla it is impossible to access information within an html input or textfield via window.getSelection. I unsuccessfully tried to access the selection…
Christian
  • 25,249
  • 40
  • 134
  • 225
0
votes
1 answer

Find long pressed word in Flutter

I am displaying a text in a card, I want to add long click functionality to display more info about selected word ( the word that is long clicked ). Which text widget supports it? SelectableText widget is not suitable, because it gives user ability…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
0
votes
0 answers

How to change click behaviour in textarea so that it shows cursor position and doesn't select a character?

I have a textarea and when I run on one machine, clicking does this: and on the other it does this:
0
votes
1 answer

Is it possible to show TextSelection with an Icon Font?

I need to use Font Awesome in an WYSIWYG Editor, and want to, that the user can highlight the Icon with Text Selection. I tried to user-select: all, but it doesn't work (The Icon is still not markable, when I select the text) .select-text { …
Christian Gollhardt
  • 16,510
  • 17
  • 74
  • 111
0
votes
2 answers

How to select all LINES between parenthesises in VIM

Say I have the following code aaa; bbb; ccc void () { xxx; yyy; } ddd; eee; Now suppose my cursor is at yyy. I'd like to highlight all code between the parenthesis { and } inclusive of the complete line the brackets are on. This means the…
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
0
votes
1 answer

Selecting text on modal dialog also selecting text in background

After the latest windows 10 update to 1809, text selection on modal window is selecting text on the parent window (background). Edge version - 44.17763.1.0 EdgeHTML 18.17763 This is working in chrome and older versions of Edge browser.
0
votes
2 answers

How can text selection be disabled in Android 3.0 Honeycomb?

This simple test page has the snippet that typically suppresses text selection on Android, iOS, Chrome, Safari and Firefox: .unselectable { -moz-user-select: none; -webkit-user-select: none; } I have a lot of test devices and I've been…
heydenberk
  • 297
  • 2
  • 10
0
votes
0 answers

How to reorder text selection of interleaved elements

I have a simple static HTML document that transcribes a PDF document. The PDF had footnotes. These are represented in the HTML by paragraphs of a footnote class placed directly after the paragraph that references the footnote. I would like the user…
holomenicus
  • 151
  • 5
0
votes
1 answer

Hide text selection handles on out of focus: Android -Webview

I'm trying to hide the text selection handles when the user clicks somewhere else (a floating button) in webview, as shown in images the handles overlap with my linear layout. layout_meaning_selected_text is the element I hide and show after…
josh
  • 79
  • 12
0
votes
2 answers

how to hide Text selection handle from webview : android

i have a custom webview on which user can select text, i want to hide the "TEXT SELECTION HANDLES" when user click on some button at the bottom , i want the text to be selected but want to hide the handles, as you can see below :
josh
  • 79
  • 12