Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java
index 7e0d32f4f2..6f1e409956 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java
@@ -16,7 +16,7 @@ public NSTextView() {
super();
}
-public NSTextView(int /*long*/ id) {
+public NSTextView(long /*int*/ id) {
super(id);
}
@@ -24,12 +24,12 @@ public NSTextView(id id) {
super(id);
}
-public int /*long*/ characterIndexForInsertionAtPoint(NSPoint point) {
+public long /*int*/ characterIndexForInsertionAtPoint(NSPoint point) {
return OS.objc_msgSend(this.id, OS.sel_characterIndexForInsertionAtPoint_, point);
}
public NSParagraphStyle defaultParagraphStyle() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_defaultParagraphStyle);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_defaultParagraphStyle);
return result != 0 ? new NSParagraphStyle(result) : null;
}
@@ -42,22 +42,22 @@ public void drawViewBackgroundInRect(NSRect rect) {
}
public NSLayoutManager layoutManager() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_layoutManager);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_layoutManager);
return result != 0 ? new NSLayoutManager(result) : null;
}
public NSDictionary linkTextAttributes() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_linkTextAttributes);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_linkTextAttributes);
return result != 0 ? new NSDictionary(result) : null;
}
public NSDictionary markedTextAttributes() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_markedTextAttributes);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_markedTextAttributes);
return result != 0 ? new NSDictionary(result) : null;
}
public NSDictionary selectedTextAttributes() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_selectedTextAttributes);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_selectedTextAttributes);
return result != 0 ? new NSDictionary(result) : null;
}
@@ -65,7 +65,7 @@ public void setAllowsUndo(boolean flag) {
OS.objc_msgSend(this.id, OS.sel_setAllowsUndo_, flag);
}
-public void setBaseWritingDirection(int /*long*/ writingDirection, NSRange range) {
+public void setBaseWritingDirection(long /*int*/ writingDirection, NSRange range) {
OS.objc_msgSend(this.id, OS.sel_setBaseWritingDirection_range_, writingDirection, range);
}
@@ -102,12 +102,12 @@ public boolean shouldDrawInsertionPoint() {
}
public NSTextContainer textContainer() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textContainer);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_textContainer);
return result != 0 ? new NSTextContainer(result) : null;
}
public NSTextStorage textStorage() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_textStorage);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_textStorage);
return result != 0 ? new NSTextStorage(result) : null;
}

Back to the top