Matthias Bussonnier
c21ba90813
Merge pull request #850 from captainsafia/update-var-names
...
Update var names in multi-selection move
10 years ago
Safia Abdalla
646a388448
Added documentation to get_anchor_index function
10 years ago
Safia Abdalla
a7f05697cc
Cleaned up functions
10 years ago
Matthias Bussonnier
68ae9415de
Fix toggle line number on multiple selection, and command palette.
10 years ago
Matthias Bussonnier
c116f33b4f
release version 4.1.0b1
10 years ago
Min RK
3170602e8c
Merge pull request #830 from Carreau/move-selection
...
Fix move selection up/down
10 years ago
Pierre Gerold
4290fb9b10
Fix #831
10 years ago
Matthias Bussonnier
aefbdbf365
Fix move selection up/down
...
Move the selection by detach/attach previous/next cell, and reselect the
moved selection.
Closes #793 (once test written).
10 years ago
Matthias Bussonnier
166b709a6a
Merge pull request #825 from parleur/selectbox
...
Fix the selectbox celltype behavior when multiselected
10 years ago
Pierre Gerold
aebecc402d
Carreau's comments
10 years ago
Min RK
0b8886d6e5
contract selection on click
...
During multi-select, clicking on the current cell collapses the selection back to just that cell.
10 years ago
Min RK
bf952c1f86
Merge pull request #822 from Carreau/merge-below
...
have shift-m merge below if one cell selected
10 years ago
Min RK
d4e467e3f4
Merge pull request #799 from Carreau/past-and-replace
...
Fix and test paste_cell_replace with multi-selection
10 years ago
Matthias Bussonnier
69ff48ee99
Merge pull request #813 from jdfreder/i795
...
Run and select below multiselect compat.
10 years ago
Pierre Gerold
bbc694b883
hidden / show trick
10 years ago
Matthias Bussonnier
f1db9c4b99
focus the last pasted cell, and add test
10 years ago
Jonathan Frederic
03b7e18082
Merge pull request #815 from jdfreder/i793
...
Deprecate move cell up/down
10 years ago
Jonathan Frederic
7ec9d5a967
Run and select below multiselect compat.
10 years ago
Matthias Bussonnier
b370f285bb
Merge pull request #812 from jdfreder/i794
...
Insert cell above/below and multiple selection
10 years ago
Matthias Bussonnier
c71c4f3032
Merge pull request #814 from jdfreder/i796
...
Run and insert below, multiselect compat.
10 years ago
Jonathan Frederic
eead7d3fd6
Remove deprecation pill
10 years ago
Matthias Bussonnier
e7912c4682
have shift-m merge below if one cell selected
10 years ago
Pierre Gerold
4a0cfdca6a
correct the celltype select box behavior with multiselect
10 years ago
Jonathan Frederic
989c7da9d4
State when the function will be removed
10 years ago
Pierre Gerold
b10a16d378
add a multiselect state in maintoolbar celltype selectbox
10 years ago
Matthias Bussonnier
a863916505
Make past and replace actually replace selection.
...
It used to replace only the head of the selection.
Change tests accordingly
10 years ago
Matthias Bussonnier
79df8c6469
Merge pull request #816 from captainsafia/add-multiselect-toggle-tests
...
Add tests for multiselect toggles
10 years ago
Safia Abdalla
068f4e9136
Refactored multiselect toggles
10 years ago
Jonathan Frederic
b1ac6f2591
Deprecate move cell up/down
10 years ago
Jonathan Frederic
5455aef679
Run and insert below, multiselect compat.
10 years ago
Jonathan Frederic
46f0cd9c34
Insert cell above/below and multiple selection
10 years ago
Peter Parente
258470e19c
Support multicell selection in markdown conversion
...
Fixes #803
(c) Copyright IBM Corp. 2015
10 years ago
Peter Parente
eb2ad5fcf6
Support multicell selection in row text conversion
...
Fixes #804
(c) Copyright IBM Corp. 2015
10 years ago
Peter Parente
e641f5fe1f
Add doc string to cells_to_code
10 years ago
Pierre Gerold
5a8cc0a75d
add maintoolbar fix for cells_to_code
10 years ago
Pierre Gerold
77210286d3
some ; missings
10 years ago
Pierre Gerold
e3299328d2
to_code -> cells_to_code to handle muliple selected cells
10 years ago
Matthias Bussonnier
b382950432
Toggle scroll, collapse and clear cell now apply on selection.
...
Still need tests.
And as discussed a long time ago, the concept of toggling scrolling and
Collapsed is **not** the right one, it leads to inconsistencies.
The cell output has 3 states:
- expanded
- scrolled
- collapsed
And the menu action should decide which one of the 3 user want.
Otherwise you get into inconsistencies like what is the difference
between collapsed & scrolled /vs/ collapsed & not scrolled.
Partially addresses #800 and #801 (I think)
10 years ago
Matthias Bussonnier
134351a744
Fist and test past_cell_replace with multi-selection
...
closes #792
10 years ago
Brian E. Granger
feb83d6c9d
Merge pull request #708 from Carreau/fix-shift-jk
...
[WIP] Prototype to fix Shift-J/K selection with anchor and cursor
11 years ago
Peter Parente
2ace23d841
Fix ConfigWithDefaults "this" context
...
Within the promise callback, refer to the ConfigWithDefaults instance, not the Promise
11 years ago
Matthias Bussonnier
f05dfae0f3
Rework multiple selections to be continuous
...
It use the notion of Head/Anchor moving the selection normally move both
the head and the anchor. It is possible to mot move the anchor, for
example by pressing Shift.
Everything in between the head and the anchor (head and anchor included)
is in a "soft-selection" marked with the 'jupyter-soft-selection' class
in CSS.
This then remove completely the notion of marked cell, and thus disallow
discontinuous selection.
Unlike previous implementation the used a thick left border, this use
background gradient with 2 stops at the same position to archived the
same visual effect without the gap in between left border in between
contiguous cells.
For compatibility with previous versions, a few choices have been made.
An extra multi-selected class is added to the body when multiple
cells are selected. This allow to toggle the background to a soft blue
indicating selection. And the Head of the selection is still called the
"selected" cell.
The on_focus event have been reworked as a
click-let-click-release-outside of codemirror was putting the notebook
in undefined state with multiple selected cells, and the head in edit
mode.
Finally Travis now test on edge group, to get faster, which can be
removed in a few weeks as the all infrastructure of Travis will move on
Google Cloud.
11 years ago
Min RK
377f4f24dc
Merge pull request #783 from marceloramires/master
...
Fixing way in which selection ranges are deleted
11 years ago
marcelo-ramires
89b7d96ccd
Fixing way in which selection ranges are deleted
11 years ago
Thomas Kluyver
edd8fdd44c
Merge pull request #631 from jcb91/feature/celltoolbar_fix
...
fix incorrect html structure from cell toolbar generator functions
11 years ago
Min RK
b2e33823cb
Merge pull request #765 from marceloramires/master
...
Fixing backspace on multiple selection bug
11 years ago
Min RK
20d858a02a
Merge pull request #706 from Carreau/ugly-fix
...
Work around jump/scroll on heading links
11 years ago
Min RK
1d934b3a9a
Merge pull request #777 from jcb91/bugfix/keyboard
...
give defined ordering to keyboard shortcuts with the same help_index
11 years ago
Josh Barnes
1a855af8f2
give defined ordering to keyboard shortcuts with the same help_index
11 years ago
Sylvain Corlay
f32651e202
Use jquery-ui instead of jqueryui
11 years ago