Hi,

On Fri, 6 Jan 2006 22:20:56 +1100, Neil Hodgson wrote:
> Mat:
>
>> With caching turned on the corruption is only temporary and
>> disappears
>> very quickly but it doesn't look good. I've uploaded a screenshot

> This is caused by SCI_GETCARETLINEVISIBLE dropping some cached
> styling information needed by painting. Fixed by adding some refresh
> calls immediately after the notification is sent. Committed to CVS
> and
> here is the diff if you want to modify your copy:
>
> RCS file: /cvsroot/scintilla/scintilla/src/Editor.cxx,v
> ..
> @@ -2755,6 +2754,8 @@
> if (needUpdateUI) {
> NotifyUpdateUI();
> needUpdateUI = false;
> +                RefreshStyleData();
> +                RefreshPixMaps(surfaceWindow);
> }
>
> // Call priority lines wrap on a window of lines which are likely
>
> Neil

Thanks, this works great.

Cheers,
Mat


                
___________________________________________________________ 
Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - 
http://santas-christmas-party.yahoo.net/

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to