#6001: [with patch, needs work] tear out docstrings in the notebook into a new
window
-------------------------+--------------------------------------------------
 Reporter:  mpatel       |       Owner:  boothby
     Type:  enhancement  |      Status:  new    
 Priority:  minor        |   Milestone:         
Component:  notebook     |    Keywords:         
-------------------------+--------------------------------------------------

Comment(by mpatel):

 Notes:

  * Ultimately, the open tab vs. open window decision comes down to a
 user's browser settings.  The author can't force this either way, it
 seems.
  * Opera 9 Linux: Works when "new window" links are set to open tabs or to
 open windows.
  * Firefox 3 Linux: Works when set to open windows, but not necessarily
 when set to open tabs.  The latter depends on whether `introspect.open()`
 opens a ''sized'' window.  Please experiment with the
 [http://www.w3schools.com/HTMLDOM/met_win_open.asp window.open()] lines in
 introspect.js and let me know.  Even with [http://getfirebug.com/
 FireBug's] help, I don't know what's wrong.
  * The new window and its children are generated dynamically, somewhat in
 keeping with the transient nature of Sage's introspection `div`s.
 Accordingly, commands like "view source" and "refresh page" may not work
 as expected.
  * The font-sizing stuff is just an experiment.
  * I have no strong opinions on cosmetic issues, including default font
 sizes, layouts, etc.  Actually, I'd rather not make these decisions, so
 please make suggestions.  Later, we can move CSS directives to `css.py`.
  * Modulo ordering, the 'sagedoc' window should be a fixed point with
 respect to local tear outs.
  * The unordered list of docstrings should be sortable, thanks to
 [http://jqueryui.com/demos/ jQuery UI].  To see this, I temporarily
 disable Firefox's [https://addons.mozilla.org/en-US/firefox/addon/1250
 Grab and Drag] extension via ALT+SHIFT+D.  Perhaps there's a workaround.
  * The code in `introspect.js` is a mix of jQuery and DOM methods.  This
 may not be optimal.
  * Evidently, !JavaScript is no Python, as
 [http://www.youtube.com/watch?v=hQVTIJBZook this video] demonstrates.
  * For now, `introspect.close()` won't work for "SHIFT-ENTER" docstrings,
 because the notebook treats them differently from "TAB" docstrings.  See
 #5644.
  * See #4714 about making jsMath inclusions and tweaks more manageable.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6001#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to