Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-LIFE-191

Links and Back and Next followed in the side preview mark their target line

When a link, Back or Next followed in the side preview that follows the editor opens another document at a line, the side preview SHALL mark that line once, and SHALL mark nothing for an anchor link or a Back or Next inside the same document.

Another outcome at step 3 of path 2 in StRS-MDOKFSTUDIO-LIFE-023, in the state “The reader reads and edits on”.

Scenarios 2

The situations the tests check; open one to read it.

nominalA link with a line
Givena side preview that follows the editor
Whenthe reader follows a link with a line or a heading fragment in it, or Back or Next to a line
Thenthe target opens in the text editor and the side preview marks the target line once
boundaryLink cases
InputOutcome
a link with no lineno marker
a link or Back or Next followed from a Studio tab, or from the side previewthe session always asks the host to show the document at the target line, and a Studio tab requests no marker
the selection the link asks forit is recorded as Studio's own, so the jump signal does not mark it a second time

Implemented in 2

Tested by 1