Here you are :
I honnestly begins to believe that everything is here on the forum, now... I'm really impressed sometimes on all that has been accumulated here.
For the edges, it depends on which edge.
For pants, inside the leg, you want something very slim, as any bulk will be feeled. So the edges are finished with overcast stitch, either by hand (a very good exercice to learn to use thimble and needle), or with a serger (overlock machine). If you do not want to do it by hand (you lazy !
) nor have a serger, you can use a zigzag stitch on a sewing machine, but it is not as good.
All edges that are inside lining are usually left raw, except if cloth frays a lot and you want to keep your inlays and allowances, in which case you overcast them. In a coat not fully lined (half lined, buggy lined...), ends must be finished either by hemming them (as in roll-hemming), or by "dressing them in tape".
Blanket stitch should do the work, I presume, but I've not seen it used in tailoring... yet.
Zigzag shears are sometimes usefull, but not for this (you seriously did not think it could be this easy !