Mercurial > projects > dwt2
comparison org.eclipse.draw2d/src/org/eclipse/draw2d/text/BidiProcessor.d @ 16:dbfb303e8fb0
first complete successful compile (win-only)
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 08:56:47 +0100 |
parents | bc29606a740c |
children |
comparison
equal
deleted
inserted
replaced
15:c4b1a29263fc | 16:dbfb303e8fb0 |
---|---|
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module org.eclipse.draw2d.text.BidiProcessor; | 13 module org.eclipse.draw2d.text.BidiProcessor; |
14 | 14 |
15 import java.lang.all; | 15 import java.lang.all; |
16 | 16 import java.util.ArrayList; |
17 //import org.eclipse.dwtxhelper.UBidi; | 17 import java.util.List; |
18 | 18 |
19 import org.eclipse.swt.SWT; | 19 import org.eclipse.swt.SWT; |
20 import org.eclipse.swt.graphics.TextLayout; | 20 import org.eclipse.swt.graphics.TextLayout; |
21 import org.eclipse.draw2d.text.FlowFigure; | 21 import org.eclipse.draw2d.text.FlowFigure; |
22 import org.eclipse.draw2d.text.BidiInfo; | 22 import org.eclipse.draw2d.text.BidiInfo; |
247 | 247 |
248 // reset the orientation of the layout, in case it was set to RTL | 248 // reset the orientation of the layout, in case it was set to RTL |
249 layout.setOrientation(SWT.LEFT_TO_RIGHT); | 249 layout.setOrientation(SWT.LEFT_TO_RIGHT); |
250 } finally { | 250 } finally { |
251 //will cause the fields to be reset for the next string to be processed | 251 //will cause the fields to be reset for the next string to be processed |
252 //bidiText = null; | 252 bidiText = null; |
253 bidiText.clear(); | |
254 list.clear(); | 253 list.clear(); |
255 } | 254 } |
256 } | 255 } |
257 | 256 |
258 /** | 257 /** |