Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#90 replace (Ctrl-h) doesn't highlight text

open
nobody
None
5
2003-11-14
2003-11-14
Heiko Selber
No

The search-and-replace function in IDLE 1.0 doesn't
always highlight the current selection.

So you can only guess which particular occurrence of
the search string is about to be replaced.

I think it depends on whether the selected text follows
a certain string.

Discussion

  • Kurt B. Kaiser
    Kurt B. Kaiser
    2003-11-17

    Logged In: YES
    user_id=149084

    Please give an example!

     
  • Heiko Selber
    Heiko Selber
    2003-11-20

    Logged In: YES
    user_id=865975

    I looked a bit closer:
    Text in strings (i.e. green text) is not highlighted.

    **** BEGIN Example ****
    #try to change "myfunc"
    def myfunc():
    "myfunc takes no parameters"
    **** END Example ****

    It works in the comment and in def, but not in the string (I
    use Python-2.3.2-1 on WinXP).