diff options
author | Felipe Heidrich <fheidric> | 2006-03-14 16:20:46 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2006-03-14 16:20:46 +0000 |
commit | b6c647974cfa627a8e820b86bd232834f35ed42d (patch) | |
tree | 92555a3c3cd4d013d6252edfb2716a3dfc3db98f /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java | |
parent | 12b870828221c9c0b493f9c0652efa449857e0a6 (diff) | |
download | eclipse.platform.swt-b6c647974cfa627a8e820b86bd232834f35ed42d.tar.gz eclipse.platform.swt-b6c647974cfa627a8e820b86bd232834f35ed42d.tar.xz eclipse.platform.swt-b6c647974cfa627a8e820b86bd232834f35ed42d.zip |
Bug 128719, forgot to call calculatedScrollBar()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java index f52b475bcd..3f66e35d8f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java @@ -885,10 +885,9 @@ TextLayout getTextLayout(int lineIndex, int orientation, int width, int lineSpac styledText.verticalScrollOffset = topIndex * lineHeight - topIndexY; } } - if (styledText.isBidiCaret()) { - styledText.createCaretBitmaps(); - styledText.caretDirection = SWT.NULL; - } + styledText.calculateScrollBars(); + if (styledText.isBidiCaret()) styledText.createCaretBitmaps(); + styledText.caretDirection = SWT.NULL; styledText.setCaretLocation(); styledText.redraw(); } |