Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Bug in Stata11 Editor


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Bug in Stata11 Editor
Date   Sun, 2 Aug 2009 19:30:23 +0200

<>

I vaguely recall hearing this one at the "Wishes and Grumbles" at the DC
meeting this week, so that awareness is assured...



HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Salah Mahmud
Sent: Sonntag, 2. August 2009 19:04
To: statalist@hsphsun2.harvard.edu
Subject: st: Bug in Stata11 Editor

This is not technically a bug, more of an odd and at times infuriating
behavior (and it is not new to Stata 11 either).
To reproduce:
1. Select some text in the editor.
2. Click Edit | Find | replace to activate the replace dialog.
3. Enter a search word.
4. Click "replace all."
All occurrences of the search word in the selected text are replaced
(expected). What is unexpected is that the editor will replace,
without warning, all occurrences of the search word in the unselected
text too. As far as I could tell this occurs whether "wrap
search/replace" is checked or not.

Because "undo" undoes one replace at at time, you will now have to
spend the rest of your morning clicking undo to get back your code or
just reload the file and lose all unsaved changes.

In all text editors I have used, search and replace is limited to
selected text. Word gives you the option to extend search to
unselected text.

/salah mahmud
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index