4 //INFO: I only care about \n and \0 and the col if in wrapped mode
5 vector( string pText, vector pLast ) Util_GetEndOfLine =
12 lChar = substring( pText, pLast_x, 1 );
14 // newline -> the current char isnt valid
16 // the next valid is char can only be after the \n
17 pLast_y = pLast_x + 1;
20 } else if( lChar == "" ) {
30 vector( string pText, vector pLast, float pWrapLength ) Util_GetEndOfWrappedLine =
37 lChar = substring( pText, pLast_x, 1 );
39 // newline -> the current char isnt valid
42 // the next valid is char can only be after the \n
43 pLast_y = pLast_x + 2;
45 } else if( lChar == "" ) {
51 if( !--pWrapLength ) {
52 // the current char is one too much