##// END OF EJS Templates
tweak history prefix search (up/^p) in qtconsole...
tweak history prefix search (up/^p) in qtconsole moving the cursor around the line could result in weird inconsistencies in the prefix. This simplifies the logic by always using the cursor position to set the history prefix, and better determine when the history prefix has actually changed.

File last commit:

r8565:9481beb6
r9205:ef8c14cd
Show More
printnotebookmain.js
30 lines | 1.1 KiB | application/javascript | JavascriptLexer
Brian Granger
Created new print view for notebook printing.
r5875 //----------------------------------------------------------------------------
// Copyright (C) 2008-2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// On document ready
//============================================================================
$(document).ready(function () {
Aron Ahmadia
partial refactor, can't quite get environments working
r8565 IPython.mathjaxutils.init();
Brian Granger
Major refactoring of notebook....
r6193
IPython.read_only = $('body').data('readOnly') === 'True';
$('div#main_app').addClass('border-box-sizing ui-widget');
Brian Granger
Created new print view for notebook printing.
r5875 $('div#notebook_panel').addClass('border-box-sizing ui-widget');
Brian Granger
Major refactoring of notebook....
r6193 IPython.page = new IPython.Page();
IPython.markdown_converter = new Markdown.Converter();
Brian Granger
Created new print view for notebook printing.
r5875 IPython.login_widget = new IPython.LoginWidget('span#login_widget');
IPython.notebook = new IPython.Notebook('div#notebook');
Brian Granger
Major refactoring of notebook....
r6193 IPython.page.show_site();
Brian Granger
Created new print view for notebook printing.
r5875
Brian Granger
Major refactoring of saving, notification....
r6047 IPython.notebook.load_notebook($('body').data('notebookId'));
Brian Granger
Created new print view for notebook printing.
r5875
});