Min RK
7bbdabdfd5
scrolling workaround for Firefox
...
setting overflow-x: hidden on Firefox prevents
long input from growing the cell ever wider on Firefox.
CSS is only applied on Firefox
11 years ago
Min RK
4ec038db1b
Merge pull request #7720 from jdfreder/readonlyui
...
Readonly indicator.
11 years ago
Thomas Kluyver
73727ed5ae
Remove Ctrl-J & Ctrl-K shortcuts
...
Closes gh-7716
11 years ago
Jonathan Frederic
67f000c721
Start read-only indicator as hidden.
11 years ago
Jonathan Frederic
231c30a550
Add readonly indicator to notification area.
11 years ago
Matthias Bussonnier
626d93128a
Merge pull request #7660 from minrk/overlayHackHack
...
Reverse hscrollbar min-height hack on OS X
11 years ago
Matthias Bussonnier
e154634ebf
Merge pull request #7686 from juhasch/shift-tab
...
Make shift-tab work as "indent-less" operation, too
11 years ago
Juergen Hasch
b3bf9dc318
Make shift-tab work as "indent-less" operation, too
11 years ago
Min RK
a1abe28c2c
fill #site height with notebook containers
...
avoids cutoff of overlay elements
11 years ago
Jonathan Frederic
697fcf3dcd
Remove accident
11 years ago
Jonathan Frederic
5f72e00dd7
Used fa-fw to force mode indicator as fixed width.
11 years ago
Min RK
f1828497e5
only show prompt overlay if there's a prompt
...
on which to overlay
11 years ago
Min RK
6f354fea42
Reverse hscrollbar min-height hack on OS X
...
OS X has optional behavior to only draw scrollbars during scroll,
which causes problems for CodeMirror's scrollbars.
CodeMirror's solution is to set a minimum size for their
scrollbars, which is always present.
The trade is that the container overlays most of the last line,
swallowing click events when there is scrolling to do,
even when no scrollbar is visible.
This reverses the trade, recovering the click events at the expense of
never showing the horizontal scrollbar on OS X when this option is enabled.
11 years ago
Min RK
0ef85028d7
don't prevent spec_changed from firing on load
...
fixes check for the case where kernelspec info is coming from the kernel,
rather than notebook metadata.
This case was getting skipped by a bad check on `_session_starting`.
11 years ago
Min RK
a5218e0cae
fix initial collapsed state on load
...
OutputArea.collapsed should only be assigned inside expand/collapse methods
setting `collapsed = false` when it actually is collapsed prevents expand from having any effect,
resulting in apparently invisible output.
11 years ago
Min RK
a720a14159
fix help-links on Firefox
...
link text must come after icon to layout properly on Firefox
this makes help links from the kernel match those already populated from the template
11 years ago
Thomas Kluyver
9790e43997
Merge pull request #7605 from minrk/f-the-pager
...
fix the pager and tooltip locations
11 years ago
Min RK
c77e94a8e6
more fixes for locating tooltip
...
use local measurements instead of page-global locations,
which are wrong now that different elements are scrolled.
11 years ago
Thomas Kluyver
d7f1166005
Merge pull request #7454 from minrk/project_name
...
add language name to kernelspec
11 years ago
Min RK
e1c8de79dd
Merge pull request #7606 from Carreau/date-now
...
Date now
11 years ago
Matthias Bussonnier
729b0922b1
Parse Date with moment.js or Because Date(str) return Now()
...
Also so relative date in confirmation dialog because It's easier to
parse mentally.
Closes #7535
11 years ago
Matthias Bussonnier
e558e1aeb8
refactor imports
11 years ago
Min RK
a1e4775487
fix tooltip location
...
put it inside `#site`, so it scrolls with the notebook
11 years ago
Min RK
e18a502484
"fix" the pager
...
- pull the pager element out of `#site`
- fix top to `auto` instead of `inherit`
11 years ago
Min RK
089973920b
use one-off notification widget for match notification
...
when no exact match, and only one kernel matches language
11 years ago
Min RK
abf27c1ddf
"Continue without kernel" button
11 years ago
Min RK
e67df0526a
use Array.map
11 years ago
Min RK
89bb88bf6e
s/language_name/language/
11 years ago
Min RK
3a20b9928b
add "No appropriate kernel" button to kernel-selection prompt
11 years ago
Min RK
f5e2bb712d
replace project_name with language_name
...
- automatically choose language match, if only one
- only list language matches in select dialog
- list all kernels if no language match
11 years ago
Min RK
e514d930cf
handle missing kernel
...
- if project_name matches, pick another kernel
- if no match, show dialog with kernel selector
11 years ago
Min RK
6bf7f1ab43
add project_name to kernelspec
...
this should be the same for compatible kernels ('ipython', 'ijulia', etc.)
11 years ago
Min RK
f52ecf1beb
warn on clobber of notebooks
...
check last_modified before saving. If it's changed, confirm overwrite.
11 years ago
Min RK
1eddad8a63
Merge pull request #7578 from Carreau/moreerrors
...
Catch and/or log a bit more errors.
11 years ago
Thomas Kluyver
a788c02ea3
Merge pull request #7599 from minrk/modal-double-border
...
remove duplicated border in indicator area
11 years ago
Min RK
54bce1c423
remove duplicated border in indicator area
11 years ago
Min RK
a7e72f8b80
don't execute empty cells
...
reorder execute a little, so that clearing old state all happens before setting new state
11 years ago
Thomas Kluyver
708088d74a
Merge pull request #7586 from Carreau/notif-editor
...
re-hook notification area for editor.
11 years ago
Peter Parente
91740ace4a
Fix initial scroll overflow with padding (from @joelkim)
11 years ago
Bussonnier Matthias
0118cfbd48
re-hook notification area for editor.
...
- re-order element to be the same as in notebook,
- rename events correctly.
- Add event on savign to show that save is in progress, that get
dismissed on file save
Closes #7569
11 years ago
damianavila
1b520328d6
Fix the hidden x scrolling.
11 years ago
Bussonnier Matthias
ab8290ae95
Catch and/or log a bit more errors.
11 years ago
Matthias Bussonnier
730c0b8822
Merge pull request #7522 from minrk/store-scroll
...
remember and persist manual scroll state.
11 years ago
Matthias Bussonnier
f5cbbd591f
Merge pull request #7565 from minrk/missing-focusout
...
enable keyboard manager when codemirror is focused
11 years ago
Min RK
83ce71aa53
Merge pull request #7551 from Carreau/xxs
...
fix left-margin on xxs screen
11 years ago
Min RK
d4eb36ea02
Merge pull request #7557 from minrk/different-resize
...
don't use flexbox to size `#site`
11 years ago
Min RK
d8ccd5e39b
Merge pull request #7473 from Carreau/no-pager-jump
...
Smooth notebook scrolling on pager closing.
11 years ago
Min RK
525c16d721
hook up ScrollManager to #site
11 years ago
Bussonnier Matthias
c81ae8762e
fix left-margin on xxs screen
11 years ago
Min RK
11a9feb25f
enable keyboard manager when codemirror is focused
...
This should always be true, and mitigate focus-related keyboard bugs, such as #7555 .
11 years ago