diff options
author | Grant Gayed | 2008-07-16 20:33:00 +0000 |
---|---|---|
committer | Grant Gayed | 2008-07-16 20:33:00 +0000 |
commit | 44831be69304b66415d3d33a9acdebdcbb92d6e6 (patch) | |
tree | 01ff023b1f5f1c2316b44ea8eedafa083972f256 /bundles | |
parent | bfc5b5ee4c106c77ce790bc008385e3f81a004a0 (diff) | |
download | eclipse.platform.swt-44831be69304b66415d3d33a9acdebdcbb92d6e6.tar.gz eclipse.platform.swt-44831be69304b66415d3d33a9acdebdcbb92d6e6.tar.xz eclipse.platform.swt-44831be69304b66415d3d33a9acdebdcbb92d6e6.zip |
revert getLineCount() change
Diffstat (limited to 'bundles')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java index 0db0af9652..001b2cb2e3 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java @@ -650,7 +650,7 @@ public boolean getEditable () { public int getLineCount () { checkWidget(); if ((style & SWT.SINGLE) != 0) return 1; - return ((NSTextView)view).textStorage().paragraphs().count() + 1; + return ((NSTextView)view).textStorage().paragraphs().count(); } /** |