If the initial text is set using setValue(String) the user can undo
the initial content back to an empty document. This feels weird. The
undo stack should stop at the version that was opened.
Setting the content as part of the initial options during creation
avoids this initial empty document history state.
Change-Id: I732f98b171d3ee2545bcea3a5ef530a7559eb70b