What is the status of this issue?
I do not think I am using TextKit 2. I install my own layout manager, and it's my understanding that that disables TextKit 2.
Nevertheless, overriding shouldDrawInsertionPoint so that it returns false does not consistently disable insertion-point drawing in my custom NSTextView.
My custom NSTextView used to work: the default insertion point was never shown. That was precisely what I expected and needed.
BTW, if I add a Swift.print statement to my shouldDrawInsertionPoint override, I see that my override is evaluated whenever my selectedRanges willSet handler is called. However, when my setSelectedRanges override (which calls the super implementation, always) is called, shouldDrawInsertionPoint usually is not evaluated.
I am using macOS Sonoma, BTW.