Re: Typing with multiple selections in NSTextView

2018-09-19 Thread Georg Seifert
Thanks for the explanation. I wonder why it supports multiple selection in the first place, when you can do almost nothing with it? Georg > On 19. Sep 2018, at 18:26, Martin Wierschin wrote: > > So far as I know this is not possible with a stock NSTextView. The selected > range array is aut

Re: Typing with multiple selections in NSTextView

2018-09-19 Thread Martin Wierschin
So far as I know this is not possible with a stock NSTextView. The selected range array is automatically normalized by NSTextView, to sort and coalesce ranges as needed. If any zero-length ranges are in a given selection array, only a single zero-length range is allowed and maintained by NSTextV

Typing with multiple selections in NSTextView

2018-09-19 Thread Georg Seifert
Hi Is it possible to make NSTextView to allow typing with multiple insertion points? One can set multiple selection and delete all of them at once. But typing only replaces the first range and ignores the other ranges. Thanks Georg ___ Cocoa-dev mai