Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370126 - [Search]Improve context tip using Orion text view.
Summary: [Search]Improve context tip using Orion text view.
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 09:16 EST by libing wang CLA
Modified: 2015-05-05 14:47 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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