org.eclipse.xtext.xtend2.richstring
Class TextLines

java.lang.Object
  extended by org.eclipse.xtext.xtend2.richstring.TextLines

public class TextLines
extends java.lang.Object

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
TextLines()
           
 
Method Summary
static void appendLines(java.lang.String text, java.util.List<TextLine> result)
          adapted from org.eclipse.jface.text.DefaultLineTracker.nextDelimiterInfo(String, int)
static java.util.List<TextLine> splitString(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextLines

public TextLines()
Method Detail

splitString

public static java.util.List<TextLine> splitString(java.lang.String text)

appendLines

public static void appendLines(java.lang.String text,
                               java.util.List<TextLine> result)
adapted from org.eclipse.jface.text.DefaultLineTracker.nextDelimiterInfo(String, int)