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
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
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
10 years ago
Peter Parente
2ace23d841
Fix ConfigWithDefaults "this" context
...
Within the promise callback, refer to the ConfigWithDefaults instance, not the Promise
10 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.
10 years ago
Min RK
377f4f24dc
Merge pull request #783 from marceloramires/master
...
Fixing way in which selection ranges are deleted
10 years ago
marcelo-ramires
89b7d96ccd
Fixing way in which selection ranges are deleted
10 years ago
Thomas Kluyver
edd8fdd44c
Merge pull request #631 from jcb91/feature/celltoolbar_fix
...
fix incorrect html structure from cell toolbar generator functions
10 years ago
Min RK
b2e33823cb
Merge pull request #765 from marceloramires/master
...
Fixing backspace on multiple selection bug
10 years ago
Min RK
20d858a02a
Merge pull request #706 from Carreau/ugly-fix
...
Work around jump/scroll on heading links
10 years ago
Min RK
1d934b3a9a
Merge pull request #777 from jcb91/bugfix/keyboard
...
give defined ordering to keyboard shortcuts with the same help_index
10 years ago
Josh Barnes
1a855af8f2
give defined ordering to keyboard shortcuts with the same help_index
10 years ago
Sylvain Corlay
f32651e202
Use jquery-ui instead of jqueryui
10 years ago
Josh Barnes
531b373eb8
fix bug in `notebook/js/quickhelp` whereby edit-mode shortcuts were duplicated on every rebuild
10 years ago
marcelo-ramires
6692ea7348
Fixing backspace on multiple selection bug
10 years ago
Matthias Bussonnier
6f5e7cae97
fix typo
10 years ago
Brian E. Granger
eaf06374ba
Merge pull request #752 from minrk/explicit-default-dialog-button
...
allow specifying default dialog button
10 years ago
Brian E. Granger
a9626ce3d1
Changing colors on find and replace matches.
10 years ago
Matthias Bussonnier
2dabc68924
Merge pull request #741 from ellisonbg/find-replace-ux
...
Work on the style and usability of find and replace...
10 years ago
Min RK
85bf940b3c
Merge pull request #729 from Carreau/debug-484
...
Add debug statements for notebook changed on disk
10 years ago
Brian E. Granger
e31fc195e2
Addressing review comments...
10 years ago
Brian E. Granger
0576363be4
Better jQuery style...
10 years ago
Min RK
ed812735cf
allow specifying default dialog button
...
rather than always focusing rightmost button
use:
default_button: "label"
to explicitly request a button be the default.
10 years ago
Brian E. Granger
75a0585aec
Work on the style and usability of find and replace...
10 years ago
Min RK
b10326e93c
Merge pull request #718 from Carreau/fixansi
...
Fix closing ansi handling.
10 years ago
Matthias Bussonnier
cdd2ae7cc6
Add debug statements for #484
10 years ago
Matthias Bussonnier
226a0c8676
Merge pull request #692 from Carreau/moar-actions-III
...
Moar actions iii
10 years ago
Matthias Bussonnier
f99ee3025c
Fix closing ansi handling.
...
The following was wrong:
IPython.utils.ansispan("\x1b[38;5;28;01mtry\x1b[39;00m")
"<span style="color: rgb(0,102,0);" class="ansibold">try< span>"
10 years ago
Matthias Bussonnier
d81d6a8e39
Work around #699
10 years ago
Matthias Bussonnier
d2c972a45c
Rename action visibility -> collapsed, scrolling->scrolled
10 years ago
Matthias Bussonnier
02102c5297
Merge pull request #696 from jhamrick/throttle
...
Rate limit scrolling callback
10 years ago
Matthias Bussonnier
629c92466f
unbind ctrl-space for now
10 years ago
Matthias Bussonnier
74a9789ef9
remove unused variable
10 years ago
Jessica B. Hamrick
059646ce11
Make sure notification is sticky
10 years ago
Jessica B. Hamrick
b2a17eee49
Set a default rate limit
10 years ago
Jessica B. Hamrick
fded61ef63
Remove console.log
10 years ago
Jessica B. Hamrick
3bcd3417c2
Rate limit scrolling callback
10 years ago
Matthias Bussonnier
887e0dd154
Merge pull request #681 from jhamrick/undo-merge
...
Properly undo merges
10 years ago
Matthias Bussonnier
38135d145d
'more actions'
10 years ago
Min RK
453b6a864a
Merge pull request #689 from Carreau/moar-actions-II
...
typing lazyness
10 years ago
Min RK
ca1263d2ea
Merge pull request #688 from Carreau/moar-actions
...
more menu bound to actions
10 years ago
Matthias Bussonnier
7c60193d24
fix notebook tour bugs
...
fixes #690
10 years ago
Matthias Bussonnier
ca906db180
'simplify binding'
10 years ago