Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
UltraTextEditor Line Breaks
posted

I have an UltraTextEditor which is display text data that has come from a unix system.  Since unix uses LF for a line break, the text doesn't format properly.  Is there an option on the UltraTextBox so that it treats LF as a line break?

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    No, there's no option for this. I expect this will probably work fine as long as the UltraTextEditor is not in edit mode. But once it goes into edit mode, it uses the MS TextBox control and the MS TextBox will not honor LF.

    You might want to consider using an UltraFormattedTextEditor control, instead of UltraTextEditor. The UltraFormattedTextEditor doesn't use the MS TextBox, so it always honors the LF character.