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

is there a winapi call for selecting rectangle in console?

here : http://msdn.microsoft.com/en-us/library/windows/desktop/ms683173(v=vs.85).aspx - I found only GetConsoleSelectionInfo() and that is only console function that has 'select' in its name. But what about setting programatically selection rectagle…
rsk82
  • 28,217
  • 50
  • 150
  • 240
0
votes
1 answer

Selection textrange IE, startposition is changed

My startposition gets changed when I select some text with "shift + arrow_left" let me explain in example: Example: - contenteditable div - inserted charcode 0182 (¶) by myself = the variable: hardReturn text in div: test¶ abc code on key up +…
Ziggiej
  • 119
  • 1
  • 1
  • 7
-1
votes
1 answer

Copying text from one textarea element to another in real-time

I want to copy input from one textarea to another textarea in real-time. This is not a HTML editor or rich text editor. Just plain simple text without any markup. This is what I am doing: a. I can detect the point at which the cursor was clicked in…
Sunny
  • 9,245
  • 10
  • 49
  • 79
-1
votes
1 answer

How to make marks on pdfs texts and add comments to it?

I’m developing a system with php to essay’s correction. The student sends an essay in pdf and I have to make, someway, marks on this text to add comments (corrections) in it. For example, mark/select a paragraph and comment something about it. When…
-1
votes
1 answer

Get selected text from tech.io code section

I'm writing an chrome extension, and I want to pick up selected text in code sections of tech.io, like this one: https://prnt.sc/hhfkwu on…
kecman
  • 813
  • 3
  • 14
  • 34
-1
votes
1 answer

Get selected text with JS - even in iFrames

Right now i get the selected text with window.getSelection().toString(). But unfortunately this doesn't work for text in iFrames. It's for a chrome extension, so i don't need to hear about how iFrames suck ;).
-2
votes
1 answer

how to align the text vertically inside of the selection box? (not talking about select box or div box)

When I give a line-height to the text div(span, p, etc.) and drag it in the browser, the selection box has an ugly empty space like this: I want to lift up the text itself inside of the selection box for looking more better when the user is…
l3lue
  • 531
  • 4
  • 16
-2
votes
1 answer

Why does my script return 0?

This AutoIt script counts number of words; characters (with and without spaces); lines; and estimated speaking time (assuming two words per second) for text selected by the user. However, if the starting position is 0 for the input string (at the…
DED1
  • 43
  • 6
-3
votes
1 answer

Determine if element is selectable

When selecting all the children of an element I sometimes receive the following error in Gecko/Waterfox: Error: NS_ERROR_FAILURE This implies (in a very unhelpful fashion) that the element is (for some reason or another) not selectable. Here is an…
John
  • 1
  • 13
  • 98
  • 177
1 2 3
30
31