[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69525: 30.0.50; MacOS: New warnings on stderr
From: |
Gerd Möllmann |
Subject: |
bug#69525: 30.0.50; MacOS: New warnings on stderr |
Date: |
Tue, 05 Mar 2024 06:31:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Alan Third <alan@idiocy.org> writes:
>> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI]
>> >>> -[TUINSCursorUIController activate:]: EmacsView doesn't conform to
>> >>> NSTextInputClient protocol.
>
> I don't have the first clue about this one. NSTextInputClient has
> apparently been around since macOS 10.5, and I haven't heard of this
> problem before... EmacsView *should* conform to NSTextInputClient
> because it's a subclass of NSView.
I've now compared Apple's docss at
https://developer.apple.com/documentation/appkit/nstextinputclient
with what's in nsterm.m, and I think it's indeed different. (Add usual
disclaimer that I know neither ObjC nor NS.)
Apple:
func setMarkedText(Any, selectedRange: NSRange, replacementRange: NSRange)
Replaces a specified range in the receiver’s text storage with the given
string and sets the selection.
Required
nsterm.m
- (void)setMarkedText: (id)aString selectedRange: (NSRange)selRange
func validAttributesForMarkedText() -> [NSAttributedString.Key]
Returns an array of attribute names recognized by the receiver.
Required
- (NSArray *)validAttributesForMarkedText
func attributedSubstring(forProposedRange: NSRange, actualRange:
NSRangePointer?) -> NSAttributedString?
- (NSAttributedString *)attributedSubstringFromRange: (NSRange)theRange
func insertText(Any, replacementRange: NSRange)
Inserts the given string into the receiver, replacing the specified content.
Required
- (void)insertText: (id)aString
Stopped here.
- bug#69525: 30.0.50; MacOS: New warnings on stderr, (continued)
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Gerd Möllmann, 2024/03/04
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Gerd Möllmann, 2024/03/04
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Alan Third, 2024/03/04
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Gerd Möllmann, 2024/03/04
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Alan Third, 2024/03/05
- bug#69525: 30.0.50; MacOS: New warnings on stderr, Gerd Möllmann, 2024/03/05
- bug#69525: 30.0.50; MacOS: New warnings on stderr,
Gerd Möllmann <=