selection Questions
5
Solved
What is the main difference between these two methods of referencing?
What are the benefits of using one or the other? Also what kind of usage-case would they each be best suited to?
var selecti...
Thyroid asked 10/4, 2014 at 11:44
3
Solved
I'm still struggling with using QListView, I'm trying to select one particular row in the view and I cannot figure out how to do this.
I found a similar question on StackOverflow which recommends ...
6
Solved
I have used Visual Studio Online for a while for a project, and the way they apply rounded borders to selections in their online code viewer is very interesting:
I've tried inspecting the elemen...
Kramatorsk asked 27/7, 2014 at 20:48
5
Solved
I would like to highlight (apply css to) a certain text range, denoted by its start and end position. This is more diffucult than it seems, since there may be other tags within the text, that need ...
Bluepoint asked 5/6, 2011 at 0:3
7
I'm currently working on a listview in winform c#
and everytime I click on an empty space on the listview,
the selected item is lost.
14
I'm trying to write an algorithm which can print the k smallest numbers in an n-size-array in O(n) time, but I cannot reduce the time complexity to n. How can I do this?
2
Solved
I'd like to draw a selection rectangle (with mouse drag and drop, like with MS Paint) on a HTML canvas.
The following snippet works, but with two different canvas.
Question: How to do this on a si...
Cheeseparing asked 1/8, 2022 at 19:36
4
Solved
I have a QTableWidget with a disabled setSelectionMode (QTableWidget::NoSelection) and the QTableWidgetItems I fill in don't have the Qt::ItemIsEditable flag.
Nevertheless, a cell that has been cli...
Narceine asked 26/7, 2014 at 16:57
4
I'm extending a WYSIWYG HTML editor (for Firefox), I want to add tags around a selection. I can't find a function to accomplish this in the Mozilla Midas specification.
There is a command to repla...
Bashuk asked 26/1, 2010 at 13:29
8
Solved
I'm creating a WPF application where several ListView selections are made in a row (similar to the iTunes browser). The problem is that the default inactive selection color is too light. (see below...
3
Solved
I am wondering if there already exists a way to expand selection to all areas suggested by Sublime Text 2 boxes, so one does not have to keep pressing Ctrl-D and sometimes Ctrl-K-D as shown in How ...
Luminescence asked 10/1, 2013 at 11:24
3
Solved
2
I'm developing a macOS App with a List View with selectable rows.
As there is unfortunately no editMode
on macOS, Single Click Selection of Cells is possible, but deselecting an already selected C...
3
Solved
I have spent several hours searching the web for solutions. What I would like to do is take the highlighted text on a page and transfer it to a textarea in the popup.html of the chrome extension. I...
Instead asked 16/1, 2013 at 0:4
12
Solved
I am looking for an "eyedropper" tool, that gives me the hex value of the pixel the mouse cursor is under, in JavaScript for a CMS.
For Firefox, there is the excellent ColorZilla extension that do...
Dacosta asked 20/12, 2009 at 14:42
5
How would one just clear it?
There is UnselectAll or UnselectAllCells methods, but they don't work. Also, setting SelectedItem = null or SelectedIndex = -1 does not work either.
Also I do not wan...
3
Solved
I'm trying to develop a way to select objects that are layered below and (totally) covered by other objects. One idea is to select the top object and then via doubleclick walk downwards through the...
Bailly asked 23/8, 2016 at 13:24
2
Solved
I recently started learning JavaScript and faced a task that I can't complete in any way, every time I get the wrong data that I need
There is an object that contains data on banking transactions, ...
Fearsome asked 27/10, 2021 at 3:32
3
Solved
I was trying to install the package RINDSEL but I am unable to install it and I keep getting the following error:
Error in install.packages : cannot open the connection
I downloaded the packa...
2
Can you get the word the user has double-clicked on? I've tried in a onDblClick eventhandler but selectionStart is undefined there; and the onselect event seems to be available only for TextArea.
Tena asked 17/2, 2010 at 14:29
2
Solved
In previous version (ST3) of Sublime Text, there was invert selection in Selection menu. With which you could simple select the text you desired to keep, invert the selection and delete.
Seems it's...
Beatriz asked 25/7, 2021 at 21:30
9
I'm trying to smoothly scroll to last element of a list after adding an element to the arrayadapter associated with the listview.
The problem is that it just scrolls to a random position
arrayadap...
Rachael asked 11/7, 2012 at 11:38
2
Solved
I'm trying to store a selection of a contentEditable element and restore it later.
I want to observe the paste event and store the HTML as it was before, clear the html and then manually insert th...
Nedra asked 16/7, 2013 at 14:9
3
Solved
As I'm not processing the items in a ListView based on what a user may select (the processing always uses everything in the list), I want to disallow the selecting of an item which may make the use...
Sticker asked 28/9, 2012 at 21:40
9
Solved
I have multiple rectangles and one special rectangle: the selection rect.
I want to check for each rectangle if the rectangle contains at least one point which is inside the selection rectangle.
He...
© 2022 - 2024 — McMap. All rights reserved.