Decompose text in the current region. When called from a program, expects two arguments, positions (integers or markers) specifying the region.