Add a function to narrow to a script block.
Also allow narrowing to a region.