Menu

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

open
nobody
None
5
2003-11-14
2003-11-14
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).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.