Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370126

Summary: [Search]Improve context tip using Orion text view.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: ken_walker, mamacdon, Silenio_Quarti
Version: 0.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2012-01-30 09:16:35 EST
In bug 369850 comment 3, Silenio and I talked about using Orion text view to for the context tip.
Currently the contents of the tip is just 5 lines(increase-able) of code with the center line highlighted by keywords.

To switch the content to text view, we need to think about:
1. Will 5 lines of code enough for syntax highlighting?
2. Somehow we should find a way to use a component that wraps text view and syntax highlighter. 
3. Highlight back ground of the keyword  in the text view.
Comment 1 libing wang CLA 2012-01-30 10:20:21 EST
Another option:
When doing in file search, we can ask syntax highlighter to do a full highlighting for the file content. This only happens when the file is expanded the first time. Then we will kind of preserve a small subset of the highlights for each match.
Comment 2 John Arthorne CLA 2015-05-05 14:47:50 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html