Code::Blocks Forums

User forums => Help => Topic started by: Pecan on November 16, 2015, 12:50:46 am

Title: How can I enter a tab char in the text editor with find/replace
Post by: Pecan 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?

Title: Re: How can I enter a tab char in the text editor with find/replace
Post by: oBFusCATed on November 16, 2015, 01:28:32 am
There is a multiline checkbox in the dialog, have you tried it?
Title: Re: How can I enter a tab char in the text editor with find/replace
Post by: raynebc 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.
Title: Re: How can I enter a tab char in the text editor with find/replace
Post by: Pecan 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