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

Ice Cream Sandwich build-in FIND feature does not highlight text in WebView

To reproduce the problem do following steps in any Ice Cream Sandwich Android device: Create simple app with the only activity. Put WebView into activity layout and load any page inside WebView. Hold touch over text inside WebView until top…
Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87
1
vote
1 answer

How can I utilize selectionStart?

As I understood, selectionStart must return start position from selected text in input text or textarea elements I have this js code $("#inpt").on("mouseup" , function () { alert( $("#inpt").selectionStart); }); and html
Oto Shavadze
  • 40,603
  • 55
  • 152
  • 236
1
vote
1 answer

How to select all UITextview content by hold and show Copy option by programmatically iphone?

Am working for am message based iPhone app. In my application i have loaded the message content in UITextView and added an UIImage on UITextView. Now i want to select all UITextView content by holding UITextView and show the Copy option to the…
Gopinath
  • 5,392
  • 21
  • 64
  • 97
1
vote
4 answers

Prevent table column from being selected and copied in Safari and Firefox?

I'm working on what is basically a small utility that displays a piece of sourcecode in a table which has two columns, one for line numbers and one for the actual source. I found that you can prevent the appearance of text being selected with the…
Rowan Lewis
1
vote
2 answers

Re-enable text-selection (Opera, webkit,ie)

How to re-enable the text-selection on IE, Opera & Webkit? I disabled it like that: $(this).mousedown(function(){return true;}); //Opera, webkit $(this).bind('selectstart',function(){return true;}); //IE (with firefox, I can easily re-enable it…
Chuck
  • 406
  • 6
  • 15
1
vote
2 answers

Android: window.getSelection() does not work in webview

I have an app with a webview and I have been trying to get user-selected text from the body of the webview. You would think that the operating system would be able to handle something like the way iOS does, but this one of the many places where…
aamiri
  • 2,420
  • 4
  • 38
  • 58
1
vote
1 answer

Android: How to surpress the action bar in a webview when selecting text

I have an app which features a webview as it's primary component. I want to allow the users to highlight (select) text in the webview, but NOT SHOW any of the contextual options like copy and paste. In my emulator running android 2.3.x this isn't…
aamiri
  • 2,420
  • 4
  • 38
  • 58
1
vote
1 answer

Android Default Text Selection Behavior for a WebView

I am expanding a previously written app. The main component of the app is a webview. In the previous iteration of the app we did not want to allow the users to select text. In the expansion we want to allow the users to be able to select text. I…
aamiri
  • 2,420
  • 4
  • 38
  • 58
1
vote
1 answer

How do I access the properties of UITextField's selectedTextRange UITextPosition objects?

I'm trying to establish the start and end positions of a text selection of a UITextField instance, using its selectedTextRange property (as gained from the UITextInput protocol). However, I have no idea how to access the properties of the…
user577537
0
votes
2 answers

In Javascript FireFox does not allow resizing div by dragging

I have a div with border and in its right-bottom corner I have image for resizing: So when user presses mouse on the image, he (or she) can drag mouse and resize the div. This works fine in all browsers but FireFox. In FireFox something strange…
Andrey Rubliov
  • 1,359
  • 2
  • 17
  • 24
0
votes
1 answer

insert text before and after at selected text

Possible Duplicate: Insert text before and after the selected text in javascript I want to put some specified text (where possible in iframe when designmode on) before and after any selected text in an HTML document. document.getSelection() or…
James
  • 237
  • 1
  • 3
  • 8
0
votes
1 answer

check for paragraph and inline text

As title said, i want to check wether the selected text is paragraph or belong to two different paragraph or an inline text, I am using this java script code for getting text. var range = window.getSelection().getRangeAt(0); var…
Ishu
  • 12,797
  • 5
  • 35
  • 51
0
votes
2 answers

Google Sheet Query - combine text into single cell by category

i came across this formula, but i dunno how to change it. to display the Query value in single cell by category. there are 5 categories, 1st cell show 1 category, 2nd cell show 2nd category and so on.. if dont have 1st category, then starts from 2nd…
loveli
  • 1
  • 1
0
votes
1 answer

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 the text selection handles are popping up through…
0
votes
1 answer

Set selected text in SelectionArea

I understand how to read the selected text in a SelectionArea, but I would also like to make selections as well. Given access to a SelectionArea, how do I programmatically set what it is selecting? Thanks!
Microbob
  • 672
  • 5
  • 20