Bug 46549 - HTML format hovering help
Summary: HTML format hovering help
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 48136 152775 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-12 21:06 EST by Elwin CLA
Modified: 2017-01-12 02:47 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elwin CLA 2003-11-12 21:06:54 EST
Hi,
We are developing a plugin that requires HTML format hovering help support. 
Just like the hovering help in JDT.  (The default hovering help is text format 
only. It doesn’t work well across platform) I found out the JDT is using 
HTMLTextPresenter to implement this feature. But it is an internal class.  
Please open this class to public. 

Thanks
Elwin
Comment 1 Dani Megert CLA 2003-11-13 16:31:09 EST
Please use the new SWT Browser widget as control.
Comment 2 Dani Megert CLA 2006-08-04 02:44:15 EDT
*** Bug 152775 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2006-08-04 02:45:33 EDT
*** Bug 48136 has been marked as a duplicate of this bug. ***
Comment 4 Ernest Pasour CLA 2006-08-04 08:13:31 EDT
I have tried using the Browser widget, but it is impractical at the present time because of the inability to get focus on the browser (for purposes of scrolling).  The HTML Text Presenter does a nice job of shrinking the output so that a lot of content fits in a small area; enough that usually you don't need to do the "hit F2 to focus" thing.  Also, in the case where you use the browser in conjunction with the CompletionProposalPopup, there is no option to use F2 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=152741).  
Comment 5 Dani Megert CLA 2006-08-04 09:06:04 EDT
>The HTML Text Presenter does a nice job of shrinking the output so
>that a lot of content fits in a small area; enough that usually you don't need
>to do the "hit F2 to focus" thing.
You can do the same with the Browser widget: use wrap mode and a small font.

>Also, in the case where you use the browser
>in conjunction with the CompletionProposalPopup, there is no option to use F2
>(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=152741).
That has nothing to do with this bug. Even if we'd use the text widget along with the html presenter it wouldn't be possible, see bug 152741.
Comment 6 Ernest Pasour CLA 2006-08-04 09:39:30 EDT
(In reply to comment #5)
> >The HTML Text Presenter does a nice job of shrinking the output so
> >that a lot of content fits in a small area; enough that usually you don't need
> >to do the "hit F2 to focus" thing.
> You can do the same with the Browser widget: use wrap mode and a small font.

Are you saying to use a small font in the html source, or is there a way to configure the Browser widget to use small fonts?  I don't have control of the html source; maybe I can massage it before I display it.


> 
> >Also, in the case where you use the browser
> >in conjunction with the CompletionProposalPopup, there is no option to use F2
> >(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=152741).
> That has nothing to do with this bug. Even if we'd use the text widget along
> with the html presenter it wouldn't be possible, see bug 152741.
> 

Yes, my point was that because of the more compact presentation of the text (with the text presenter), F2 is not as likely to be needed.  I'm not sure how much difference there is with JavaDoc, but there's quite a bit of difference with the help pages I'm linking to.
Comment 7 Dani Megert CLA 2006-08-04 09:45:58 EDT
>or is there a way to configure the Browser widget to use small fonts?
You can always wrap the input: that's what we do in order to allow setting the font (see latest I-build).