Author Topic: How can I enter a tab char in the text editor with find/replace  (Read 2977 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
How can I enter a tab char in the text editor with find/replace
« on: November 16, 2015, 12:50:46 am »
Is it possible to enter escape characters like \n \t etc with the find/replace dialog of the editor?


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How can I enter a tab char in the text editor with find/replace
« Reply #1 on: November 16, 2015, 01:28:32 am »
There is a multiline checkbox in the dialog, have you tried it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: How can I enter a tab char in the text editor with find/replace
« Reply #2 on: November 16, 2015, 07:27:38 am »
It doesn't seem to work, pressing Tab changes fields.  The only way I know how to work around this limitation in programs is to paste a tab character in from the clipboard.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Re: How can I enter a tab char in the text editor with find/replace
« Reply #3 on: November 16, 2015, 05:22:33 pm »
Finally figured it out by using the regular expression option of replace. '\t' (without quotes) worked.

thanks