Use faster doc.findMarks() if available (added CM 3.22).
New CM in demos (3.22, 4.0.2)