[]
Find latest possible line break position before 'lineBreakPos'.
public static int GetLineBreak(string text, int lineBreakPos, bool useKinsoku, bool breakNotJapan, bool firstInLine = true)
Type | Name | Description |
---|---|---|
string | text | Source text. |
int | lineBreakPos | Desired line break position. |
bool | useKinsoku | If False, kinsoku rules will be ignored. |
bool | breakNotJapan | If True, non-japanese words can be splitted. |
bool | firstInLine | The source text locates at the start of the line. |
Type | Description |
---|---|
int | Line break position. |