SciTE has been my favorite editor for many years, but a recent system upgrade (Linux Mint 17.1, 64-bit, SciTE version 3.3.5) has introduced a new problem. Scrolling text up or down, especially at high speed, causes the window to flash black for a few milliseconds while updating.
I ran SciTE in a terminal session, opened a long text file, and scrolled it up and down. The following message was generated several times:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
This seems to be consistant and repeatable. Any suggestion on how to diagnose or correct this would be appreciated. System has libpixman-1-0 (0.30.2-2ubuntu1) installed.
3.3.5 is 15 months old and there have been changes to GTK+ platform layer code since then, notably [bugs:#1567]. First thing to do is update to current release 3.5.2 and see if that fixes the problem.
Another thing to do is to compile for debug "make DEBUG=1", run inside a debugger (I like the GUI debugger in Qt Creator), set a breakpoint on '_pixman_log_error' like the message says and look at the stack trace at that point to see which call Scintilla is making at that point.
Related
Bugs:
#1567Thanks. It seems that the latest version of SciTE is not available in the current Mint/Ubuntu repositories, but I'll keep checking for updates.