PowerBuilder 8 and above allows direct editing of source code using a built-in editor. PBSearch does this one step better by allowing you to specify your favorite text editor.
Using the Program Options window, you specify the external editor program of your choice. It could be Notepad or Wordpad or any of the programmer's editors available. As long as they accept the file name as a command parm, you can use it to edit object source. The editor used by object source and database object source is set separately.
PBSearch writes the object to a file in your temp directory and runs the editor program you chose. When the editor program ends, PBSearch looks at the temp file to determine if you saved changes. If you did, it asks if you want to import the source. If you answer yes, it will import the source for you.