jquery.textSelection: Select sample text, if possible, when splitlines is true

Bug: T72764
Change-Id: Ic39b56f78d8e0bfeaa5ad5ff3d0e9e6e6a0e56fc