Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: AW: Find Again and Copy in do-file editor |
Date | Wed, 24 Mar 2010 09:07:23 +0100 |
<> That is very normal and, most of the time, useful behavior. Ultraedit also makes the highlighted string the new search string. Note there is no need for you to copy to the clipboard in your step 4. Highlighting alone does the trick. Highlighting a string and pressing ctrl-f automatically puts the string into the search dialog box, but you could also start pressing F3 right away. HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Michael Norman Mitchell Gesendet: Mittwoch, 24. März 2010 02:10 An: statalist@hsphsun2.harvard.edu Betreff: st: Find Again and Copy in do-file editor Greetings I am using the most up to date Stata 11 with Windows/XP and have noticed an odd behavior in the do-file editor. When I copy text into the clipboard, it changes the "find string" to match the text copied to the clipboard. Here is an example sequence of steps.... 1) Open a file in the do-file editor. 2) Press ctrl-f and in the search box search for a text string (e.g., "describe") that appears multiple times in the file. 3) Close the dialog box, and use the F3 button to "find again" to find the next instance of the string. 4) Select some text (e.g., "fred") and copy it to the clipboard via ctrl-c. 5) Press F3 to "find next" instance of "describe" WHOOPS! it now searches for "fred" instead of "describe". Does this happen for other folks? Is this proper behavior? Thanks, -- Michael N. Mitchell See the Stata tidbit of the week at... http://www.MichaelNormanMitchell.com * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/