Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 239086 Details for
Bug 425968
[BiDi] incorrect rendering of PARAGRAPH SEPARATOR character (\u2029)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
A simple SWT apllication
SeparatorTest.java (text/x-java), 1.21 KB, created by
Andre Saibel
on 2014-01-17 05:50:18 EST
(
hide
)
Description:
A simple SWT apllication
Filename:
MIME Type:
Creator:
Andre Saibel
Created:
2014-01-17 05:50:18 EST
Size:
1.21 KB
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.events.*; >import org.eclipse.swt.widgets.*; > >public class SeparatorTest >{ > public static void main(String[] args) > { > Display display = Display.getDefault(); > > final String line1 = " language: english (be),\u2029 alphabet: latin,\u2029 letters: 26"; > final String line2 = " שפ×: ×× ×××ת (×ר×××ת) \u2029, ×××פ××ת: ×××× × \u2029, ××ת××ת: 26"; > > Shell shell1 = new Shell(display, SWT.LEFT_TO_RIGHT | SWT.SHELL_TRIM); // > shell1.setSize(300, 300); > shell1.addPaintListener(new PaintListener() > { > public void paintControl(PaintEvent pe) > { > pe.gc.drawText(line1, 10, 20); > } > }); > shell1.open(); > > Shell shell2 = new Shell(display, SWT.RIGHT_TO_LEFT | SWT.SHELL_TRIM); // > shell2.setSize(300, 300); > shell2.addPaintListener(new PaintListener() > { > public void paintControl(PaintEvent pe) > { > pe.gc.drawText(line2, 10, 20); > } > }); > shell2.open(); > > while (!shell1.isDisposed() && !shell2.isDisposed()) > { > if (!display.readAndDispatch()) > { > display.sleep(); > } > } > display.dispose(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 425968
: 239086