Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText + getLineAtOffset + wrap
StyledText + getLineAtOffset + wrap [message #448153] Tue, 04 January 2005 11:59 Go to next message
James Willans is currently offline James WillansFriend
Messages: 303
Registered: July 2009
Senior Member
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 19:31 Go to previous message
James Willans is currently offline James WillansFriend
Messages: 303
Registered: July 2009
Senior Member
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: Fri Apr 26 10:33:03 GMT 2024

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

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

Back to the top