nek023 / Lin

Xcode plugin that provides auto-completion for NSLocalizedString.
http://questbe.at/lin/
MIT License
1.23k stars 97 forks source link

Clipoard issue #15

Closed johnnyoin closed 9 years ago

johnnyoin commented 11 years ago

When I write NSLocalizedString(@"", ni autocompletion ends up writing "niil" and my clipboard is cleared.

hsarret commented 11 years ago

Not able to reproduce here, please elaborate

johnnyoin commented 11 years ago

I didn't make myself clear indeed. It's not a clipboard issue but an undo stack one. I cannot cmd+Z after I wrote NSLocalizedString(@"", ni

Just in case, I run Xcode 4.6.2 under Mac OS X 10.8.3

hsarret commented 11 years ago

Ok after playing around trying to reproduce i got that log on Xcode instance used to debug plugin

2013-04-24 17:08:43.589 Xcode[14318:303] [MT] DVTAssertions: Warning in /SourceCache/DVTKit/DVTKit-2078/Framework/Classes/TextCompletion/DVTTextCompletionInlinePreviewController.m:309 Details: Attempting to edit the text storage while a completion inline preview is visible. Clearing the undo stack, since it's in an inconsistent state.

What's happening is still not clear for me though ;) Good news is that i am able to reproduce problem 100%. Will let you know when it's fixed.