Hi, On line +/- 840 In function there is :
lineLen = vline_length( visLineNum ); *X = text_area.x + handle_vline(GET_WIDTH, lineStartPos, pos-lineStartPos, 0, 0, 0, 0, 0, 0) - mHorizOffset; return 1; It looks like lineLen is not used but pos-lineStartPos) instead. Using the editor sample, it crashes there. lineLen is good (0) but not pos - lineStartPos so handle_vline will crash line 1738 : currChar = lineStr[i]; Regards, David _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
