parent
b346d64d86
commit
83a5661e68
|
@ -105,8 +105,11 @@ def _set_prompt(m):
|
||||||
p = 'Replace %r with %r [ynadq] (%d occurances)?' % (before, after, count)
|
p = 'Replace %r with %r [ynadq] (%d occurances)?' % (before, after, count)
|
||||||
elif count == 1:
|
elif count == 1:
|
||||||
p = 'Replace %r with %r [ynadq] (1 occurance)?' % (before, after)
|
p = 'Replace %r with %r [ynadq] (1 occurance)?' % (before, after)
|
||||||
|
elif count == 0:
|
||||||
|
p = 'Replace %r with %r [ynadq] (0 occurances)?' % (before, after)
|
||||||
|
#raise Exception("this can't happen")
|
||||||
else:
|
else:
|
||||||
raise Exception("this can't happen")
|
raise Exception("this REALLY can't happen")
|
||||||
w.application.mini_prompt = p
|
w.application.mini_prompt = p
|
||||||
|
|
||||||
def _replace(m):
|
def _replace(m):
|
||||||
|
|
Loading…
Reference in New Issue