Split Editor sample
This snippet shows how to implement a split editor on the same contents.