Re: Increased CPU utilization due to SC_WIN_IDLE messages

Neil Hodgson <[email protected]> Mon, 27 Jan 2025 09:25:26 +1100
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <CACWkrThY_wTaw0S0O7KPJLo-FcnG8_2fG602FRC_hEPO4ETt1A@mail.gmail.com>
ekopalypse:

> After I disabled it again in my initialization routine, the high CPU load is gone.
> But why is this happening at all? If I use it only with the one document, so the current document is always overwritten, the needIdleStyling does not generate this amount of messages, more precisely, IdleStyle is not called at all, because needIdleStyling is wrong.

More information should be gathered to diagnose this behaviour. Is the
style setting working correctly or does it have a bug? In a similar
issue, there was a problem with the search result lexer in Notepad++
that repeatedly re-lexed text because it didn't mark the text as
styled.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/CACWkrThY_wTaw0S0O7KPJLo-FcnG8_2fG602FRC_hEPO4ETt1A%40mail.gmail.com.