Home Download Buy Blog Forum Support

Find text automatically copied between Chrome and Sublime

Find text automatically copied between Chrome and Sublime

Postby benknight on Wed Apr 24, 2013 12:00 am

This strange find behavior burns me every time, and I can't figure out if it's a bug or a feature. I can't seem to find any settings that might let me disable it, if it's indeed a feature.

Steps to Reproduce:
1) Open Sublime, go to Find > Find...
2) Open Google Chrome, find in page on Chrome e.g. (⌘F → "Hey hey")
3) Tab back to Sublime, the same text "Hey hey" appears in Sublime's find prompt, erasing whatever was there before (e.g. some regex that took you 5 minutes to write)

The reverse is true too: Entering a string into Sublime's find prompt and then tabbing to Chrome will cause the same text to be inserted into Chrome's find input.

As mentioned above it's particularly painful when writing regular expressions since they can get overwritten and do not appear in the find input's history when hitting the up arrow.

Posts: 1
Joined: Tue Apr 23, 2013 11:50 pm

Re: Find text automatically copied between Chrome and Sublime

Postby adzenith on Wed Apr 24, 2013 3:28 am

This is a feature in OS X - all applications use the same find pasteboard, just as they use the same copy pasteboard.
In Sublime Text's search box, you can press the up arrow to get a previous find string (as long as you hit "find" at least once).
Posts: 1390
Joined: Mon Oct 19, 2009 9:12 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 35 guests