• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Field editors behavior.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Field editors behavior.


  • Subject: Field editors behavior.
  • From: Dmitriy Balakirev <email@hidden>
  • Date: Fri, 25 Oct 2013 00:17:43 +0400

Can someone explain what the reason behind this NSTextView (i. e. every field editor) behavior:
If we type something in text field('test', for example) and then select all, copy, and finally past several times, we get 'testtesttest'.
But if we instead do double click on text (selecting word 'test'), copy and then past, we will get 'test test test'. What reason adding spaces here?
And if we want past 'test' inside "test" we will get "te test st" but not "tetestst". Weird...


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Field editors behavior.
      • From: Keary Suska <email@hidden>
    • Re: Field editors behavior.
      • From: Dmitriy Balakirev <email@hidden>
  • Prev by Date: Re: Not documented: NSArray responds to -allObjects
  • Next by Date: Re: Field editors behavior.
  • Previous by thread: Re: NSTextField, maximum string length, bindings and NSFormatter
  • Next by thread: Re: Field editors behavior.
  • Index(es):
    • Date
    • Thread