Markdown-Edit icon indicating copy to clipboard operation
Markdown-Edit copied to clipboard

The curious case of the disappearing forward slash

Open cyotek opened this issue 9 years ago • 1 comments

I was writing a document, and one of the lines I entered as this

step([$class: 'NUnitPublisher', testResultsPattern:'testresults/*.xml', debug: false, keepJUnitReports: true, skipJUnitArchiver: false, failIfNoResults: true])

However, I was surprised when I suddenly saw that the / was missing. Thinking that I'd somehow managed to delete it, I added it back - only for two to appear. As it happens, that / is right at the point where the window wraps, and if I resize it so that the wrap happens somewhere else, it magically reappears.

As screenshots don't really do it justice I added a small animation. You can see the (lack of) a slash at the end of the first line, then when I resize the window it pops into view as soon as the wrap happens somewhere else.

appearing-disappearing-slash

Curious issue, and fairly minor I guess but if you find 'em, log 'em!

It seems to have something to do with the * that follows, for I have other lines with slashes and they wrap fine - unless I change them too to have a * following the slash, at which point they also "break".

Regards; Richard Moss

cyotek avatar Jan 11 '17 19:01 cyotek

Odd indeed.

mike-ward avatar Jan 12 '17 18:01 mike-ward