Book a Demo

Author Topic: [Beta 13] Replace text in Code template editor  (Read 6145 times)

jepessen

  • EA User
  • **
  • Posts: 106
  • Karma: +1/-1
    • View Profile
[Beta 13] Replace text in Code template editor
« on: June 11, 2016, 04:32:28 pm »
Hi.

I want to replace tabs with spaces in generated code. In template code editor I want to replace all occurrences of "\t" with "  ".

In template code editor with CTRL+f I can open the Find and Replace widget, but I cannot find any way to replace the text, only find it. How can I replace text in editor?


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: [Beta 13] Replace text in Code template editor
« Reply #1 on: June 11, 2016, 05:39:51 pm »
The headline was too short for the whole text "Find and Replace" - "manually once you found what you tried to replace" xD

q.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: [Beta 13] Replace text in Code template editor
« Reply #2 on: June 13, 2016, 10:06:37 am »
Try Ctrl+R instead of Ctrl+F.

Ctrl+F is for "Find" (although the title of the dialog that appears is somewhat misleading)
Ctrl+R is for "Find and Replace"

jepessen

  • EA User
  • **
  • Posts: 106
  • Karma: +1/-1
    • View Profile
Re: [Beta 13] Replace text in Code template editor
« Reply #3 on: June 15, 2016, 06:10:58 am »
Perfect. Thank you.