Please enable JavaScript to view this site.

ESL Documentation

Navigation: » No topics above this level «

Q10 How do I copy the text of a word wrapped MLE to a textual region and keep the line formatting?

Scroll Prev Top Next More

The syntax would be as follows:

ESLLan16

The reason this is necessary is that no newline character ("\n") is inserted at the end of the line when the text wraps to the next line. Thus, when you copy the text out, it is really just one long string without a newline to differentiate separate lines. This code will allow you to place each line in the MLE on a separate line in the textual region and retain the line formatting.