New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updatecm #1303
Updatecm #1303
Conversation
Chrome 16, Mac 2 blinking cursor:
|
Sorry I can't test in detail now, but I tried to use it for work and noticed a problem, shown here: <img src="http://i.imgur.com/x5F1i.png" /img> I got this by going to ace, typing a two-line cell, and back to normal with |
Note, |
testing scopeI only had time to try a subset of the new functionality - merging code cells, editing code cells in ACE. I didn't have time to try the markdown and html cells. usability nits
functional bugsmenu header selection bug:
blank file name accepted for notebook:
first time load of a notebook after upgrading from 0.12, requires a refresh for the javascript design ideas
|
@fperez: yes this is a bug and I think I know how to fix it. Related to all of the CodeMirror issues I am having. @Carreau: yes, we will need to add the unminified source.
|
@ellisonbg, glad you can reproduce it. Let me know and I can keep on testing... |
@ellisonbg - Return to Notebook sounds good to me. |
* Added set_text/get_text in favor of get_code/set_code and get_source/set_source. * Added methods to the base class (get_text, set_text, refresh, edit, render, toJSON, fromJSON).
* Added placeholder to the base Cell class. * Removed the \u0000 char at the beginning of the TextCell placeholder that was there for a CodeMirror bug workaround. * Other refactoring of Cell related Notebook methods.
* Cell insertion code completely rewritten. We now have two methods rather than 9: insert_cell_above, insert_cell_below. * Renaming methods to be more consistent. * Creating new methods to provide a uniform API. * Minor bug fixes.
* Merge/split works for all cell types. * Notebook.select won't select an already selected cell. * Bugs in markdown cell editing fixed. * border-box-sizing used for Markdown cells to get correct css boxes. * Shading/border added to Markdown cell editor.
OK I think I have fixed the main bugs, please test this branch on all platforms/all browsers. |
The bug on Safari is with Ace. It looks like there is a fix for this, but we need to decide if we want to keep using Ace. |
I am going to merge this. I am pretty sure I have resolved all of the non-Ace related bugs, which are also in master. I have 3 other branches whose progress depends on this branch and things are getting impossible to manage and move forward. We will need to figure out the Ace stuff in a separate branch. |
* Block-level indent/dedent works. * Tab in docstrings works.
This updates CodeMirror and refactors a good bit of the notebook code related to it. * Updated CodeMirror to the latest stable release. * Fix numerous bugs related to the CM update. * Refactored the Cell API and the notebook's cell handling methods. * Generalized split/merge to work with all cell types. * Generalized "Edit in Ace" to work with all cell types. * Loading optimizations: pager starts out hidden, faster loads. * Shading added to Markdown and HTML cells when they are being edited. * This branch will require solid usability testing on Safari, FF and Chrome before merging. * Fixed a number of CM related bugs.
Question, Otherwise splitting/merging cell is really cool, but I tend to search for it in the 'Cell' menu. |
Replacing all |
Yes, the fix is easy, but I think we are going to move away from Ace... On Tue, Jan 24, 2012 at 2:27 AM, Bussonnier Matthias
Brian E. Granger |
This updates CodeMirror and refactors a good bit of the notebook code related to it. * Updated CodeMirror to the latest stable release. * Fix numerous bugs related to the CM update. * Refactored the Cell API and the notebook's cell handling methods. * Generalized split/merge to work with all cell types. * Generalized "Edit in Ace" to work with all cell types. * Loading optimizations: pager starts out hidden, faster loads. * Shading added to Markdown and HTML cells when they are being edited. * This branch will require solid usability testing on Safari, FF and Chrome before merging. * Fixed a number of CM related bugs.
This updates CodeMirror and refactors a good bit of the notebook code.
This branch will require solid usability testing on Safari, FF and Chrome before merging.