summaryrefslogtreecommitdiffstats
path: root/Tools/idle/ReplaceDialog.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary importsNeal Norwitz2002-09-121-4/+0
|
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-1/+0
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Get rid of _expand() altogether - the match object supports m.expand().Guido van Rossum2002-07-241-11/+2
|
* The test for re.engine was misfiring because re.engine is no longerGuido van Rossum2002-07-241-11/+4
| | | | | | | | | defined and the default was "pre" instead of "sre". Give up on 1.5.2 compatibility, hardcode the sre solution. However, this XXX comment still applies, AFAIK: # XXX This code depends on internals of the regular expression # engine! There's no standard API to do a substitution when you # have already found the match. One should be added.
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-041-6/+6
|
* Temporary fix for Bug #114821.Guido van Rossum2000-09-191-2/+18
| | | | | | | | | | | | | | The cause was that the replace code necessarily used a PCRE internal function to to template expansion. The fix changes the code to use an SRE internal if SRE is used, and a PCRE internal if SRE is used; in a way that should work with 1.5.2. The solution can be sped up tremendously under the assumption that the choice between sre and pre is not changed during the execution of the program; especially replace-all will be slow. But I'll leave that to someone else.
* Hmm... Tim didn't turn "replace all" into a single undo block.Guido van Rossum1999-06-081-0/+2
| | | | I think I like it better if it os, so here.
* Tim Peters: made replacement atomic for undo/redo.Guido van Rossum1999-06-081-0/+2
|
* Checking in IDLE 0.2.Guido van Rossum1999-01-021-0/+168
Much has changed -- too much, in fact, to write down. The big news is that there's a standard way to write IDLE extensions; see extend.txt. Some sample extensions have been provided, and some existing code has been converted to extensions. Probably the biggest new user feature is a new search dialog with more options, search and replace, and even search in files (grep). This is exactly as downloaded from my laptop after returning from the holidays -- it hasn't even been tested on Unix yet.