textselection Questions

2

Solved

In IE 10, when you click on any text while holding the CTRL key the browser selects the text (which means the text gains focus and I want to avoid this because I have some multi-select scenario whe...
Rus asked 17/9, 2012 at 11:46

1

My text is: My favourite singer is {Bruce Springsteen} and he was born in New Jersey. I want to programmatically select the text between the curly braces including them. I cannot find a straig...
Toms asked 17/10, 2014 at 15:37

1

I'm trying to create a Chrome Extension that deals with selected text. Some website pages' otherwise selectable text content has click/mouse-up/down event handlers that navigate to a new page. Is ...
Thaothapa asked 12/9, 2014 at 19:56

2

Solved

Is it possible to select all the text of an element (e.g., a paragraph <p>) with JavaScript? A lot of people think jQuery .select() would do this, but it does not. It merely triggers an event...
Culp asked 22/8, 2014 at 21:10

9

Before posting this question I've searched a lot but could not find any clear answers on this issue. I have to override default text selection of android webview & show my custom text selectio...
Cremate asked 10/6, 2013 at 12:45

1

I need the ability to select a range of HTML by giving it an ID selector. What I have below works great in Chrome and Firefox, but not in IE 10 (standard mode). (older version of IE are not a conce...
Marmot asked 11/9, 2013 at 20:2

2

Solved

Does "mark is active" simply mean the same thing as "region is active" in Emacs, regardless of whether Transient Mark mode is enabled? Therefore to activate mark is the same as to activate region? ...
Clair asked 9/9, 2013 at 12:40

4

Solved

.disableSelection in JQueryUI 1.9 is deprecated. The only explanation I can find is, literally, "Disabling text selection is bad. Don't use this." and "We shouldn't allow developers to mess with te...
Ponton asked 19/12, 2012 at 19:5

1

Solved

I am trying to somewhat duplicate the "autocorrect" functionality seen in programs like Microsoft Office's Outlook. For starters, anytime a user types "a " (the letter a and a space) at the beginn...
Carbuncle asked 25/7, 2013 at 12:34

1

In Eclipse there is the nicest feature, when you hover with the mouse over an Open or Close element (Any Open or close bracket '(', '{', '[', ']', '}', ')', the Quotation Mark ' " ' or the tag ' ' ...

2

Solved

I am implementing a epub reading app where I am using textview for showing text of epub. I want to select text from textview when user long presses on textview and then do multiple operations on se...
Gastroscope asked 10/9, 2012 at 6:49

3

On the left side of every line in a TRichEdit control there's an invisible space where the cursor changes to a right-up arrow and when you click there the entire line is selected. It's easy to see ...
Remainder asked 9/6, 2013 at 19:43

1

Solved

The question CSS rule to disable text selection highlighting shows how to prevent text selection on an element. Once you have prevented selection, how can you then allow selection for a specific ch...
Apiarian asked 17/5, 2013 at 2:23

1

Solved

I have some source code in a <pre><code> with line numbers in a separate <div>. When the text is selected, the line numbers come with it, and are subsequently copied. Is there any...
Astir asked 1/3, 2013 at 6:30

16

Solved

I'm building an HTML UI with some text elements, such as tab names, which look bad when selected. Unfortunately, it's very easy for a user to double-click a tab name, which selects it by defa...
Freighter asked 16/9, 2008 at 4:39

2

Solved

I tried the jquery-fieldselection plugin to get the selected text in textarea. It works fine in Firefox and Chrome, but not in Internet Explorer 7. I use the getSelection() method like this: tex...

4

Solved

Maybe this is a browser related issue? I'm on Chrome at the moment... What I'm trying to accomplish is allow the user to save text that they've selected (highlighted) on the page with their cursor...
Milligram asked 2/8, 2012 at 21:56

2

Solved

Text Selection Highlighting too much on either side because of padding. http://jsfiddle.net/JamesKyle/pA7BJ/ How do I fix this using CSS? I've tried a bunch of different things, none of which s...
Samaritan asked 28/7, 2012 at 19:23

2

Solved

So, while playing with scrollbars and stuff in HTML5, I'm starting to notice an annoying trend. If I have text near my element that's being dragged (say, a scrub bar for a video, scroll bar, ...
Haden asked 6/3, 2011 at 0:12

2

Problem domain: Android WebView based ePub format reader -- We need text highlights which are accessible via JavaScript methods (ie turn em on, turn em off, save them email them, etc) Anyone in ...

2

Solved

Say I have an ul (li) list in the page: <ul> <li>xxx<li> <li>xxx<li> </ul> The element li are clickable and double-clickable, they are attached with these e...
Miles asked 17/4, 2012 at 3:10

1

Solved

I'm trying to create a graceful, distraction-free text editor. One of the features I really would like to implement is a pop-up with simple text formatting commands, such as bold, italic, underline...
Liquate asked 30/3, 2012 at 0:57

5

Solved

I am making a HTML/CSS/jQuery gallery, with several pages. I indeed have a "next" button, which is a simple link with a jQuery click listener. The problem is that if the user click the butt...
Briefs asked 23/9, 2010 at 14:39

2

Solved

Why cannot use body::selection, when i want anything that can highlight to be the color i desired, anything include p img li h1 Examples here Now i want everything highlight to be RED color, but i...
Songsongbird asked 28/1, 2012 at 14:38

1

Solved

Why does the CSS3 pseudo-element selection not change all parts of the highlight? As you can see in this screenshot I have selected part of the page, and parts of the selection are the default brig...
Garrott asked 15/1, 2012 at 1:26

© 2022 - 2024 — McMap. All rights reserved.