Menu

About find/replace function

Developers
liyinghui
2004-04-13
2004-04-13
  • liyinghui

    liyinghui - 2004-04-13

    I had some code want to paste to forum(not this), but if I directly paste it, all tab charater cann't be seen. So I have to change tab charater to   html entity, but I don't know how to enter tab in replace dialog of DrPython. If it could be as a new feature? There is other charater like newline also has this problem.

     
    • Daniel Pozmanter

      At the moment, you can copy them from the Document,
      or check off "Regular Expression" and search for
      \t for tab
      \n for newline (unix)
      \r\r for mac
      \r\n for win

      The problem is that the keys for inserting these characters are already being used:
      Tab moves the focus from one control to another
      Enter executres the search.

       
    • liyinghui

      liyinghui - 2004-04-13

      In EditPlus, there is a pulldown list, you can choice an item like tab or newline. If we can do like this? Or if we can enter \t or \n represent the real character?

       
    • Daniel Pozmanter

      Well, \t and \n work (if you use regular expressions).

      Of course, perhaps a pop up menu that lets you add special characters may be best.

       

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.