> If you/others find out solution or pointers for possible solution, I
> will quickly correct it.
I think I found "the" problem, but I`m not sure.
See the comments:
int Input::line_start(int i) const {
if (type() < MULTILINE) return 0;
int j = i;
while (j > 0 && at(j-1) != '\n') j--;
//std::cout << this->value() << std::endl;
std::cout << "anfang j: " << j << std::endl;
if (type() >= WORDWRAP) {
// now measure lines until we get past i, start of that line is real eol:
// hier Veränderung
// EDIT by Top_se:
// original: Rectangle r(w(),h()); box()->inset(r); int wordwrap =
r.w()-6;
Rectangle r(w(),h()); box()->inset(r); int wordwrap = r.w()-7;
setfont();
It`s the same with the line_end-methode!
But I have no idea, why the '-6' is "wrong" and "my" '-7' works fine for me at
all. Maybe it`s a font-problem ...
I hope this hint helps you to find the exact problem, and it would be nice if
you can inform me, thx! ^^
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk