l've used the buttonhole stitch, keeping the straight part along the edges. l've also used a narrow zigzag, but some fabrics actually get pulverized by all those stitches close to the edge, and l've had to go back with a slightly wider stitch. lf you're not turning the edges under, nothing is 100%. l think quilting just on the outer edges as luvspaper suggests is excellent insurance.