diff options
author | Knut Radloff <kradloff> | 2002-03-01 19:47:17 +0000 |
---|---|---|
committer | Knut Radloff <kradloff> | 2002-03-01 19:47:17 +0000 |
commit | 7f080f182f6a92fcfdba594bc2e83c66e54d8c3d (patch) | |
tree | ef212b89360d96ea700cc6f6551153bd2fb47e86 /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java | |
parent | a56525ddb41b82034aaca3e68e3094b41b1d92ee (diff) | |
download | eclipse.platform.swt-7f080f182f6a92fcfdba594bc2e83c66e54d8c3d.tar.gz eclipse.platform.swt-7f080f182f6a92fcfdba594bc2e83c66e54d8c3d.tar.xz eclipse.platform.swt-7f080f182f6a92fcfdba594bc2e83c66e54d8c3d.zip |
fixes bug 9191bidi_printing_wip
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java index bf05aadb17..ad66908e37 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java @@ -199,6 +199,14 @@ public String getTextRange(int start, int length) { return logicalContent.getTextRange(start, length);
}
/**
+ * Returns the number of visual (wrapped) lines.
+ *
+ * @return the number of visual (wrapped) lines
+ */
+int getVisualLineCount() {
+ return visualLineCount;
+}
+/**
* Returns the offset of the character after the word at the specified
* offset.
* <p>
|