Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text widget flickers on XP with SWT.WRAP
Text widget flickers on XP with SWT.WRAP [message #443020] Thu, 16 September 2004 14:14 Go to next message
Eclipse UserFriend
Originally posted by: ec.vanderberg.fastmail.fm

I am using the org.eclipse.swt.widgets.Text widget in a simple text editor
I am building. Text wrap is a requirement for the editor, so I create the
widget with the SWT.WRAP option.

It works well in Windows 2000, but in Windows XP the current line of text
flickers horribly as I type. I developed the app in Eclipse 3.0, but was
able to reproduce the problem binding against the 2.1 swt.jar and DLL.

I can solve the problem by using a StyledText widget. The flicker goes
away, but with wrap enabled in the StyleText widget, performance drops to
unacceptable levels as the widget can barely keep up with moderately fast
typing.

Any suggestions? Should I file a bug report for this?
Re: Text widget flickers on XP with SWT.WRAP [message #443034 is a reply to message #443020] Thu, 16 September 2004 18:52 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Enter a bug report against Platform SWT.

"Josh Vanderberg" <ec@vanderberg.fastmail.fm> wrote in message
news:cic74i$7q8$1@eclipse.org...
>I am using the org.eclipse.swt.widgets.Text widget in a simple text editor
> I am building. Text wrap is a requirement for the editor, so I create the
> widget with the SWT.WRAP option.
>
> It works well in Windows 2000, but in Windows XP the current line of text
> flickers horribly as I type. I developed the app in Eclipse 3.0, but was
> able to reproduce the problem binding against the 2.1 swt.jar and DLL.
>
> I can solve the problem by using a StyledText widget. The flicker goes
> away, but with wrap enabled in the StyleText widget, performance drops to
> unacceptable levels as the widget can barely keep up with moderately fast
> typing.
>
> Any suggestions? Should I file a bug report for this?
>
Re: Text widget flickers on XP with SWT.WRAP [message #443059 is a reply to message #443020] Fri, 17 September 2004 22:34 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Does Notepad.exe flicker when wrap is turned on?

"Josh Vanderberg" <ec@vanderberg.fastmail.fm> wrote in message
news:cic74i$7q8$1@eclipse.org...
> I am using the org.eclipse.swt.widgets.Text widget in a simple text editor
> I am building. Text wrap is a requirement for the editor, so I create the
> widget with the SWT.WRAP option.
>
> It works well in Windows 2000, but in Windows XP the current line of text
> flickers horribly as I type. I developed the app in Eclipse 3.0, but was
> able to reproduce the problem binding against the 2.1 swt.jar and DLL.
>
> I can solve the problem by using a StyledText widget. The flicker goes
> away, but with wrap enabled in the StyleText widget, performance drops to
> unacceptable levels as the widget can barely keep up with moderately fast
> typing.
>
> Any suggestions? Should I file a bug report for this?
>
Previous Topic:Exception when disposing GC
Next Topic:Table header
Goto Forum:
  


Current Time: Thu Apr 25 22:30:45 GMT 2024

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

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

Back to the top