On 25 Nov 2012, at 00:15, Greg Ercolano wrote:
> On 11/24/12 14:31, corvid wrote:
>> I wrote:
>>> I just want to make sure: This means that there is a purely internal error
>>> in fltk, not that the user had set up their Fl_Text_Display incorrectly in
>>> some way, yes?
>>>
>>> (I'm using current 1.3 code)
>>
>> I was able to get a minimal example for once:
>
> Seems like a bug; I can replicate.
> Getting these errors on the terminal for every character I type:
>
> Fl_Text_Display::position_to_line(): Consistency check ptvl failed
> Fl_Text_Display::position_to_line(): Consistency check ptvl failed
> Fl_Text_Display::position_to_line(): Consistency check ptvl failed
> Fl_Text_Display::position_to_line(): Consistency check ptvl failed
>
> Also, even though the screen appears to be large enough, it
> doesn't show the line being typed, but seems scrolled down
> to an empty line beyond the end of the buffer.
It does seem to be related to setting the wrap mode - if I comment out that
line, it seems to be not present...
Also, if I set the window resizable with:
w->resizable(e);
Then the warning only appears if the window is *not* resized bigger - once I
enlarge the window vertically, the fault seems to go away.
There is something odd about the scrollbars too - initially they do not show
the up/down arrows, only the scroller bar itself, but as the window is enlarged
vertically the arrows appear.
It seems as if (maybe, speculation) once the arrows are visible the
"Consistency check ptvl failed" error stops appearing. But that may just be
coincidental...
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk