Top "Selection" questions

Selection is also the stage of a genetic algorithm in which individual genomes are chosen from a population for later breeding.

Converting Range or DocumentFragment to string

Is there a way to get the html string of a JavaScript Range Object in W3C compliant browsers? For …

javascript selection range tostring documentfragment
Matplotlib: draw a selection area in the shape of a rectangle with the mouse

I want to be able to draw a selection area on a matplotlib plot with a mouse event. I didn't …

python matplotlib mouse selection matplotlib-basemap
Select subset of characters in many lines (column selection) in Eclipse/Android Studio

How to select subset of characters in many lines (column selection) in Eclipse/Android Studio? Ideally without plugins. Shift+Alt+…

android eclipse selection
JavaScript Set Window selection

In JavaScript, there is a method window.getSelection(), that lets me get the current selection that the user has made. …

javascript jquery window selection
Disable WPF TreeView (or TreeViewItem) selection?

Is there a nice way (except retemplating the whole TreeViewItem.Template) to disable selection in TreeView? I am basically looking …

wpf xaml treeview selection itemscontrol
selectionStart and selectionEnd in contenteditable element

I have been struggling the selectionStart and selectionEnd attributes of textarea to make them work with contenteditable div element. I …

jquery textarea selection contenteditable
JCombobox disable item selection (make combo readonly)

I'd like to create a readonly combobox. The user should not be able to select another item from the popup …

java swing selection jcombobox
UICollectionView shouldSelectItemAtIndexPath=NO does not avoid deselecting old selection?

I have multiple items in a CollectionView, but only a few of them should be selectable. I'm handling this with …

selection uicollectionview
Understanding what goes on with textarea selection with JavaScript

I am working on an in-browser editor within a textarea. I have started looking for some information on dealing with …

javascript textarea selection
UITableView Multiple Checkmark Selection

Having read a couple of the questions asked relating to this, I can get the functionality to work. However my …

uitableview selection