In the code box, press ctrl and click on the function to see the definition method of this function (usually). The more advanced one is the search method: copy the function name of this API, and then use the search file method to find the *.pas file containing the name of this API (that is, paste the function name in the search "Include text"). If If Delphi5 declares it, it must be in a certain pas file. Otherwise, it will be no declaration and you must declare this API yourself.
If you want to indent and indent multiple lines, select those codes and press "Ctrl+Shift+u" or "Ctrl+Shift+i" (indent).