Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Controlling the width of the TextHover
Controlling the width of the TextHover [message #136142] Thu, 25 September 2003 16:36 Go to next message
Eclipse UserFriend
Hi,
I'm working on an editor plugin for a proprietary language.

Is there a way to set the width of the TextHover. (The little tooltip thingy
that pops up
when you leave the cursor on a piece of text in the editor)

Ideally I would like to 'fix' the width and have the 'hover' window wrap the
text and add scrollbars.
The text that I'm displaying has arbitrary line widths. It seems that the
width of the popup is determined by
width of the longest line of text.
Worst case I have to format the text before I feed it into the Text Hover.

Any idea if this is possible and where I can find any info.

Thanks,
Olaf
Re: Controlling the width of the TextHover [message #136209 is a reply to message #136142] Fri, 26 September 2003 03:44 Go to previous message
Eclipse UserFriend
Originally posted by: tom.eicher.gmx.ch.nodomain

If your ITextHover implements ITextHoverExtension, you can define your
own IInformationControlCreator which in turn can produce a custom
IInformationControl the size of which you can control.

-tom

Olaf wrote:

> Hi,
> I'm working on an editor plugin for a proprietary language.
>
> Is there a way to set the width of the TextHover. (The little tooltip thingy
> that pops up
> when you leave the cursor on a piece of text in the editor)
>
> Ideally I would like to 'fix' the width and have the 'hover' window wrap the
> text and add scrollbars.
> The text that I'm displaying has arbitrary line widths. It seems that the
> width of the popup is determined by
> width of the longest line of text.
> Worst case I have to format the text before I feed it into the Text Hover.
>
> Any idea if this is possible and where I can find any info.
>
> Thanks,
> Olaf
>
>
>
>
Previous Topic:Missing cursor
Next Topic:Annoying OpenType on a selected WorkingSet
Goto Forum:
  


Current Time: Wed May 07 17:50:21 EDT 2025

Powered by FUDForum. Page generated in 0.04122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top