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
0 answers

Text Seletion with markers for web browser

How to achevie the Text selection along with markers for web browsers (angular / Javascript code). Some thing like UITextView text selection and highlight jumping in iOS 8, but need to acheive in web browser. since I have not found any idea / hint…
RONE
  • 5,415
  • 9
  • 42
  • 71
0
votes
1 answer

Adobe Illustrator text selection different from other document

I am doing a copy-paste job from Word to Illustrator, whenever I double click on the word in the docx the whole word is selected like this but when I try to double click in illustrator it leaves the first point out and selects the last "/" or…
0
votes
1 answer

Copy rectangular selection in web browser from HTML
 element with numerous nested levels of  descendants?

I have HTML
 elements containing 160 columns by 62 rows of text; terminal screen captures, set in a monospace font. The text is marked-up by various  elements; for example, to set text color, background color, font weight, underlining;…
Graham Hannington
  • 1,749
  • 16
  • 18
0
votes
1 answer

React Native Text Selection (Highlight text in different colors) HTML view and custom menu

Help, I am having trouble completing the required functionality: Highlight text (Select text and highlight in colors). Make notes in the selected text. I already tried almost all of the libraries available…
ABHAY
  • 1
  • 1
0
votes
3 answers

How to detect the deselection of a before selected text?

This may be a dumb question but I didn't find any information about this anywhere... I have this line and at onselect the var sel1 is on true.…
0
votes
3 answers

get line where selection is in javascript

I have a div contentEditable=true where multi-line text is entered. Whenever the user press enter, I would like to inspect the line in which the user was to see what is the context of that line (preferably, of all lines). Is it possible to have…
calebmiranda
  • 156
  • 13
0
votes
3 answers

jQuery - get selection's paragraph, length, etc

I'm trying to accomplish something I believe should be simple to do in jQuery. I have a long text in my website. Whenever a user selects (highlights) a text, I need to get the following info: The paragraph where the selection begins at The char in…
Skipper Geffen
  • 75
  • 2
  • 11
0
votes
2 answers

Right indent of the selection in HTML

Faced the problem, there is an indent on the right side of the selected text in Chrome and Mozilla. Safari doesn't have such. Checked other sites and it seems to be a default browser behaviour. Is anyone aware about how to get rid of it? Sandbox…
0
votes
0 answers

Is there an Intellij shortcut like Eclipse's "Select Next Element"?

Is there any editor command in Intellij that could provide the same selection change like "Select Next Element in Eclipse" (actually expands the selection to the left/rigth elements)? This would be very handy.
Daniel Hári
  • 7,254
  • 5
  • 39
  • 54
0
votes
5 answers

Get currently selected text on page

How would you get the currently selected text within a textarea (and modify it)? I've seen the select event that can be listened for, but I was wondering if there was a way to just get the currently selected text. Also, what technique do you need to…
Acorn
  • 49,061
  • 27
  • 133
  • 172
0
votes
1 answer

avoid css filter invert changes in div::selection

* ::selection { background: #000; color: #fff; } .a, .b { background: red; color: yellow; } .a { filter: invert(1); } .a::selection { filter: invert(1); }
The amount of the conversion, specified as a number or a…
Karuppiah RK
  • 3,894
  • 9
  • 40
  • 80
0
votes
1 answer

Why does a floated select together with other neighboring

I just noticed a weird problem. Suppose you have this HTML: case n° 1: 123456 This is rendered all together: 123456 When you double-click this (I'm using Chrome), the entire 123456 gets selected. If you would add a…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
0
votes
1 answer

While selecting text inside a react-rnd, and if selection goes out of the draggable component, the selection changes

I implemented a draggable textarea using react-rnd by having the textarea component inside of the react-rnd component. Now when I try to select the text inside the textarea by using the cursor and if I accidentally go out of the react-rnd component,…
0
votes
2 answers

How to find start and end index of DOM text selection?

In jQuery Terminal I want to add an API that will return indices of the selection. Example HTML I have:
jcubic
  • 61,973
  • 54
  • 229
  • 402
0
votes
0 answers

Selection persists after ACTION_PROCESS_TEXT activity finishes

I'm trying to create a small strikethrough application for myself. The idea is simple: select the text, select the MStrike option in the floating menu that appears and then continue typing. Except that after I press MStrike the still remains…