Matthias Bussonnier
b520b57f2f
Merge pull request #1049 from parleur/nested_svg
...
Nested svg
10 years ago
Min RK
4d64519f12
Merge pull request #969 from minrk/undelete-stack
...
multiple-undo for cell deletion
10 years ago
Pierre Gerold
f8d2af1632
draft for nested svg test, not working
10 years ago
Thomas Kluyver
15581d9567
Ensure user site packages is on PYTHONPATH for notebook test server
10 years ago
Min RK
5eec6a5951
fix multi-cell undelete ordering
...
and test multi-cell undelete at both the top and bottom of the notebook
10 years ago
Min RK
f0cb481cb2
add select_cells test utility
...
selects [included,excluded) semi-open range, like Python conventions.
10 years ago
Min RK
89b75c21e2
multiple-undo for cell deletion
...
use a stack for undelete_backup instead of a singleton
avoids data loss on multiple undelete
10 years ago
Matthias Bussonnier
9ab90bd835
fix regex
10 years ago
Sylvain Corlay
859e1c77b6
Test based on css selection
10 years ago
Pierre Gerold
0b44f64e9d
Move test function to test file
10 years ago
Matthias Bussonnier
bed0bd1ee2
Typo: `verison` -> `version` (swap `s` and `i`)
10 years ago
Pierre Gerold
f557c8c9b7
Fusion between carreau & mink solution about version nb checking
10 years ago
Matthias Bussonnier
f873493f9f
Test for Pep440 non-Complaint version numbers
...
test directly in the version number file, as the version number is
likely to be committed before running tests, so we want **really quick
failure**.
10 years ago
Matthias Bussonnier
50e1f8b746
Cleanup and comment
...
[no-ci]
10 years ago
Matthias Bussonnier
f2a42913a3
Move tests to a separate file
...
and get rid of `.entries()` not supported by Casper on Travis
10 years ago
Pierre Gerold
ed2d61afa5
Typo tests
10 years ago
Pierre Gerold
845ea5e555
end of tests
10 years ago
Pierre Gerold
94d057bf10
test quick dirty and under pressure
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
f1db9c4b99
focus the last pasted cell, and add test
10 years ago
Matthias Bussonnier
7dd57f9696
Update merge tests with new behavior (merge below)
10 years ago
Jonathan Frederic
a9b9243ebf
Tests
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
7a7c90b993
Add tests
10 years ago
Matthias Bussonnier
f5dc1b25ec
Fix tests on merge-able cells.
...
Add test to check that shift-m does actually do nothing on only 1 cell
selected.
make sure multiple cells get selected when trying to merge a lock cell
(or it's useless test)
Add a test that check 2 cells can be merged.
Closes #820
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
4719f957ad
Write test to test for running of multiple selection and insert below.
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
ca496ee268
Added tests for multiselect toggle functionality
10 years ago
Peter Parente
2b7a06d4b2
Add multiselect cell type conversion tests
...
(c) Copyright IBM Corp. 2015
10 years ago
Matthias Bussonnier
57b9550b8d
Fix test and move in their own file
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
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
Thomas Kluyver
d732e28cb2
Merge pull request #711 from minrk/allow-async-kernel-manager
...
allow some KernelManager methods to be async
10 years ago
Min RK
cfa64552b2
initialize Application in background thread
...
rather than initializing in main and starting in background, which seemed to cause occasional issues.
Also fix checking for dead notebook, which is no longer a subprocess.
10 years ago
Matthias Bussonnier
259be440b5
use var
10 years ago
Matthias Bussonnier
c54b4f0e1d
more info on timeout
10 years ago
Matthias Bussonnier
a0929ab8c1
Timeout is an option of `waitFor`, not `then`
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
Jessica B. Hamrick
0212d45292
Add some more tests for merging above/below
10 years ago
Jessica B. Hamrick
3438604ac9
Add test to verify bug in undoing merges
10 years ago
Jessica B. Hamrick
ac02e2259f
Add some tests
10 years ago
Jessica B. Hamrick
0fff17cdbc
Run marked cells
10 years ago
Jessica B. Hamrick
a1b530e28b
Fix tests
10 years ago
Brian E. Granger
8e901e8d0d
Using jupyter-notebook for command prefix.
10 years ago
Brian E. Granger
a5e9d96089
Small renaming fixes.
10 years ago
Brian E. Granger
c7d3728b6e
Renaming jupyter-notebook -> jp-notebook
10 years ago