blanket auto change is dangerous lazarus / 9-Editor ---------------------------------------------------------------------- Ruptor · 2013-04-04 22:24 I accidentally named a TAChart series with the same name as a variable in the main code but when I changed the series name the auto edit changed all variables that had the same name as well. I would have thought the editor could distinguish single variables from structures since they are different types. ---------------------------------------------------------------------- Martin_fr · 2013-04-04 23:36 Try from the "Source" menu: "Refactoring" > "Rename Identifier" ---------------------------------------------------------------------- Ruptor · 2013-04-05 09:27 Ok thanks. So that shows me what kind of hash I am about to make before I do it. ---------------------------------------------------------------------- Martin_fr · 2013-04-05 09:45 Quote from: Ruptor on April 05, 2013, 11:27:40 amOk thanks. So that shows me what kind of hash I am about to make before I do it. Before? "RENAME Identifier" acts immediately. It can show you a list of all changes done. "FIND Identifier" will show you. "search"/"rename" act on text, ignoring any pascal context There is also Syncro edit, if you want to replace on a small block: http://wiki.lazarus.freepascal.org/New_IDE_features_since#Syncron-Edit A list of many useful features: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools