Experimental: support addToHistory option for markText