Re: What's up with the Cocoa Text System?
Re: What's up with the Cocoa Text System?
- Subject: Re: What's up with the Cocoa Text System?
- From: Jens Alfke <email@hidden>
- Date: Fri, 23 Jan 2015 08:52:12 -0800
> On Jan 23, 2015, at 5:50 AM, Charles Jenkins <email@hidden> wrote:
>
> For some reason, typing text on a Mac has always had a little bit of friction: however the OS receives keyboard input, it doesn't seem to be able to keep up as well as a PC. But lately, toward the end of Mavericks' lifespan and now on Yosemite, it has actually become painful to type in text. I'm excited about working on my app, but when it comes time to sit down and work on it, I always feel noticeable dread about having to type code into XCode.
I don't see this problem. I'm quite a fast typist, and apps don't have trouble keeping up. In particular, there's not a "significant pause that happens each time you finish a word".
I have very occasionally seen Xcode get sluggish, but I could resolve it simply be relaunching Xcode. (My hunch is that it was some Xcode bug where a timer-based task starts running after every event and taking too much time.)
I'm guessing you either have very old hardware, or too little RAM, or some kind of extensions installed (input methods?) that are monitoring keystrokes and doing too much work.
The way I'd troubleshoot this is to go to Terminal, enter "sleep 2; sample TextEdit 5", immediately switch to TextEdit and type as fast as you can for 5 seconds. Then look at the sample and see where the time is going and if anything looks suspicious ("-[NSAKeyLogger checkForTerroristKeywords:]" maybe…)
—Jens
_______________________________________________
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