textselection
Setting caret position in JTextArea
I have a JTextArea. I have a function that selects some amount of text when some combination is called. It\'s done properly. The thing is, I want to move caret to the selection beginning when some tex[详细]
2023-03-05 07:40 分类:问答How to disable text selection on a table in a tricky situation?
I have a basic table, like this: <tabl开发者_如何学JAVAe> <tbody> <tr> <td>Column 1</td>[详细]
2023-02-23 16:32 分类:问答Get the Highlighted/Selected text
Is it possibl开发者_如何学Goe to get the highlighted text in a paragraph of a website e.g. by using jQuery?Getting the text the user has selected is relatively simple. There\'s no benefit to be gained[详细]
2023-02-18 14:33 分类:问答Handling text selection event in Firefox extension (preventing user from selecting text)
I was wondering if in chrome code we have some better way to detect when the user selects/highlights something in the current page than listening for keyup/mouseup and checking window.getSelection().[详细]
2023-02-14 22:45 分类:问答TinyMCE Custom Link button/command (with jQuery)
I have a TinyMCE editor with its default toolbar hidden, and have created my own to replace it (simplified with office2007 style css previews).[详细]
2023-02-09 16:38 分类:问答What Text Selection Control is this?
I want to 开发者_C百科implement the same nature type of control on text selection on a Activity with various text fields. Any ideas of implementing the behavior shown in Picture[详细]
2023-02-08 06:25 分类:问答reliable, cross-browser way to get selection's boundaries?
I need to make the user to be able to select some text, click a button and make the server remember the selection for the next time.[详细]
2023-01-27 03:56 分类:问答Can you set and/or change the user’s text selection in JavaScript?
In JavaScript, there are various methods for accessing the user’s text selection, and creating text selections (or ranges) — see http://www.quirksmode.org/dom/range_intro.html.[详细]
2023-01-24 22:27 分类:问答jqueryUI Sortable: handling .disableSelection() on form inputs
example: i have an un-ordered list containing a bunch of form inputs. after making the ul .sortable(), I call .disableSelection() on the sortable (ul) to prevent text-selection when dragging an li i[详细]
2023-01-21 07:06 分类:问答Monitor selections in any application
I want to monitor all text selections made in any application by the user.Is that possible? I would prefer a solution in .net, but vanilla C++ is OK.[详细]
2023-01-18 11:13 分类:问答