Dim tCode As String
tCode = "This is line 1" + EndOfLine + "This is line 2" + EndOfLine + "This is line 3" + EndOfLIne
taPHPCode.Text = tCode
Windows 10, Edge Browser ignores EndOfLine displaying incorrectly as:
This is line 1 This is line 2 This is line 3
Windows 10, Chrome honors EndOfLine and displays correctly as:
This is line 1
This is line 2
This is line 3
Substituting EndOfLine for + Chr(13) + Chr(10), does not display correctly in Edge either.
Perhaps this is a known issue. My apologies if it has already been reported.
Not quite sure how it works as it basically replaces an empty string by another, but it seems to be enough to put the TextArea together. I originally tried to replace a character just to see if it worked, and it repaired the line endings, so I went replace ‘’ by ‘’ and it seems to suffice
Noted, thank you Greg. I thought it a prudent first step to mention unexpected behaviors on the forum as a means to confirm my experience before raising a Feedback case. However, I should have searched Feedback more thoroughly before posting. The motivation for posting was to find a temp workaround to the issue, as much as confirm the issue.
Not quite sure how it works as it basically replaces an empty string by another, but it seems to be enough to put the TextArea together. I originally tried to replace a character just to see if it worked, and it repaired the line endings, so I went replace ‘’ by ‘’ and it seems to suffice ;)[/quote]
I just noticed that MS Edge on Windows 10 fails to honor EndOfLine characters in my WebTextArea fields. Is the above still the only workaround available? Chrome doesn’t suffer this on Windows 10.
Just for clarification Greg, is 34720 a new fix for the next release (2018r2) that didn’t make the cut for r1.x even though the date of the “Fixed” status in Feedback was pre-2018r1.1? I’m guessing since I’m still seeing the problem in 2018r1.1 and didn’t see it mentioned in the release notes…