#5644: [with patch, needs work] make it so escape make the introspection window 
in
the notebook disappear
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  boothby   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.2
Component:  notebook  |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by mpatel):

 On "SHIFT-ENTER" introspection: If you're feeling adventurous, replace the
 new lines in the patch with these:
 {{{
     } else if((introspect_id == id) && introspection_loaded) {
         if(key_close_helper(e)) {
             halt_introspection();
             return false; //otherwise, keep going
         }
     } else {
         output_html = get_element('cell_output_html_'+id);
         pre0 = output_html.getElementsByTagName('pre')[0];
         if (pre0 && (pre0.getAttribute('class') === 'introspection') &&
 key_close_helper(e)) {
             output_html.removeChild(pre0);
             return false; //otherwise, keep going
         }
 }}}
 Note: This doesn't tell the server about any changes!  I don't know
 exactly how this plays out in practice.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5644#comment:3>
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