Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText + getLineAtOffset + wrap
StyledText + getLineAtOffset + wrap [message #448153] Tue, 04 January 2005 06:59 Go to next message
Eclipse UserFriend
I am using StyledText to implement a console window-like display. The
StyledText widget uses the wrap functionality, however the problem I'm
having is that getOffsetAtLine seems to ignore this. Consequently a
seemingly long document in the StyledText widget might only be considered
as a single line. Is there some similar functionality that consideres
line wraps?

Thanks.

James
Re: StyledText + getLineAtOffset + wrap [message #448246 is a reply to message #448153] Wed, 05 January 2005 14:31 Go to previous message
Eclipse UserFriend
Up. Anyone any thoughts?

James Willans wrote:

> I am using StyledText to implement a console window-like display. The
> StyledText widget uses the wrap functionality, however the problem I'm
> having is that getOffsetAtLine seems to ignore this. Consequently a
> seemingly long document in the StyledText widget might only be considered
> as a single line. Is there some similar functionality that consideres
> line wraps?

> Thanks.

> James
Previous Topic:button with image on PDA
Next Topic:Button mnemonic does not show when first drawn....
Goto Forum:
  


Current Time: Wed Jul 02 19:41:54 EDT 2025

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

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

Back to the top