#7105: change search_doc and search_src so the links are opened in a new
tab/window
-----------------------------------+----------------------------------------
   Reporter:  was                  |       Owner:  boothby        
       Type:  enhancement          |      Status:  positive_review
   Priority:  major                |   Milestone:  sage-4.7       
  Component:  notebook             |    Keywords:                 
     Author:  John Palmieri        |    Upstream:  N/A            
   Reviewer:  Karl-Dieter Crisman  |      Merged:                 
Work_issues:                       |  
-----------------------------------+----------------------------------------

Comment(by jhpalmieri):

 Replying to [comment:9 kcrisman]:
 > I don't know why it can't literally return the output of search_src in
 the command line. Maybe because that's piped into less?

 No, the command {{{_format_search_as_html}}} deliberately ignores multiple
 matches in the same file, along with the line numbers and the line
 containing each match -- it just uses the file name.  The extra
 information is there, but it's discarded.  I wonder if there's a good way
 to present it.  Figure out a way to use javascript to open up a Python
 file to a specified line, and then give one link for each matching line?
 Also keep the current version as a more compact option?

 > Well, in any case this is another ticket. No point turning this into the
 next ticket to nowhere.

 I agree, I'm just brainstorming.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7105#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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