StyledText.getModelDelimitedText

Returns a string that uses only the line delimiter specified by the StyledTextContent implementation. <p> Returns only the first line if the widget has the SWT.SINGLE style. </p>

@param text the text that may have line delimiters that don't match the model line delimiter. Possible line delimiters are CR ('\r'), LF ('\n'), CR/LF ("\r\n") @return the converted text that only uses the line delimiter specified by the model. Returns only the first line if the widget has the SWT.SINGLE style.

class StyledText
package
String
getModelDelimitedText
(
String text
)

Meta