From b863e024b9bcdc78a11e2acbc93cc2e1ef79ba2e Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Fri, 25 Jun 2021 19:47:51 +1000 Subject: Feature [feature-requests:#1400] Set buffering when technology set. --- doc/ScintillaDoc.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9fbb50350..50409c0af 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -128,7 +128,7 @@

Scintilla Documentation

-

Last edited 17 June 2021 NH

+

Last edited 25 June 2021 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -4511,8 +4511,14 @@ struct Sci_TextToFind { is retained after being presented which may prevent drawing failures on some cards and drivers. SC_TECHNOLOGY_DIRECTWRITEDC differs from SC_TECHNOLOGY_DIRECTWRITE by using DirectWrite to draw into a GDI DC. - Since Direct2D buffers drawing, Scintilla's buffering can be turned off with - SCI_SETBUFFEREDDRAW(0). +

+

+ On Win32, buffered drawing is set to a reasonable value for the technology: on for GDI and off for Direct2D + as Direct2D performs its own buffering. + This can be changed after setting technology with + SCI_SETBUFFEREDDRAW. +

+

When using DirectWrite, you can use SCI_SETFONTLOCALE to set an appropriate font locale to draw text with expected language-dependent glyphs. -- cgit v1.2.3