XEngima / Apps-TypeSqfEdit

An open source editor for Arma 3 missions, with syntax highlighting and a live SQF and SQX analyzer service.
MIT License
4 stars 2 forks source link

New Search And Replace dialog. #3

Closed joseffallman closed 4 years ago

joseffallman commented 4 years ago

Created a new search and replace dialog. Press CTRL+H to find it.

joseffallman commented 4 years ago

( ) is grouping an expression together. Use $ to reference to this group in replacement.

Example Text in editor: “private _var;” Search for: “\s(_var);” Replace with: “ $1iable ;” Output: “private _variable ;”

It's not possible to use \t, \s and similar in replacement. They will be escaped and treated as other characters.