|
@@ -38,6 +38,7 @@
|
|
|
|
|
|
{ NSTextInputClient Protocol }
|
|
{ NSTextInputClient Protocol }
|
|
NSTextInputClientProtocol = objcprotocol external name 'NSTextInputClient'
|
|
NSTextInputClientProtocol = objcprotocol external name 'NSTextInputClient'
|
|
|
|
+ required
|
|
procedure insertText_replacementRange(aString: id; replacementRange: NSRange); message 'insertText:replacementRange:';
|
|
procedure insertText_replacementRange(aString: id; replacementRange: NSRange); message 'insertText:replacementRange:';
|
|
procedure setMarkedText_selectedRange_replacementRange(aString: id; selectedRange: NSRange; replacementRange: NSRange); message 'setMarkedText:selectedRange:replacementRange:';
|
|
procedure setMarkedText_selectedRange_replacementRange(aString: id; selectedRange: NSRange; replacementRange: NSRange); message 'setMarkedText:selectedRange:replacementRange:';
|
|
procedure unmarkText; message 'unmarkText';
|
|
procedure unmarkText; message 'unmarkText';
|
|
@@ -48,6 +49,7 @@
|
|
function validAttributesForMarkedText: NSArray; message 'validAttributesForMarkedText';
|
|
function validAttributesForMarkedText: NSArray; message 'validAttributesForMarkedText';
|
|
function firstRectForCharacterRange_actualRange(aRange: NSRange; actualRange: NSRangePointer): NSRect; message 'firstRectForCharacterRange:actualRange:';
|
|
function firstRectForCharacterRange_actualRange(aRange: NSRange; actualRange: NSRangePointer): NSRect; message 'firstRectForCharacterRange:actualRange:';
|
|
function characterIndexForPoint(aPoint: NSPoint): NSUInteger; message 'characterIndexForPoint:';
|
|
function characterIndexForPoint(aPoint: NSPoint): NSUInteger; message 'characterIndexForPoint:';
|
|
|
|
+ optional
|
|
function attributedString: NSAttributedString; message 'attributedString';
|
|
function attributedString: NSAttributedString; message 'attributedString';
|
|
function fractionOfDistanceThroughGlyphForPoint(aPoint: NSPoint): CGFloat; message 'fractionOfDistanceThroughGlyphForPoint:';
|
|
function fractionOfDistanceThroughGlyphForPoint(aPoint: NSPoint): CGFloat; message 'fractionOfDistanceThroughGlyphForPoint:';
|
|
function baselineDeltaForCharacterAtIndex(anIndex: NSUInteger): CGFloat; message 'baselineDeltaForCharacterAtIndex:';
|
|
function baselineDeltaForCharacterAtIndex(anIndex: NSUInteger): CGFloat; message 'baselineDeltaForCharacterAtIndex:';
|