From bd9deff34368b5928263231342128a8a84a17877 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 24 Nov 2014 18:01:03 +1100 Subject: SC_TECHNOLOGY_DIRECTWRITEDC is another provisional mode for DirectWrite drawing which may fix problems with sibling windows. --- doc/ScintillaDoc.html | 19 ++++++++++++------- doc/ScintillaHistory.html | 5 +++++ 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 068dbdf9d..8b9ecb1b2 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -82,7 +82,7 @@

Scintilla Documentation

-

Last edited 16 November 2014 NH

+

Last edited 24 November 2014 NH

There is an overview of the internal design of Scintilla.
@@ -3270,16 +3270,20 @@ struct Sci_TextToFind { SCI_GETTECHNOLOGY
The technology property allows choosing between different drawing APIs and options. On most platforms, the only choice is SC_TECHNOLOGY_DEFAULT (0). - On Windows Vista or later, SC_TECHNOLOGY_DIRECTWRITE (1) or - SC_TECHNOLOGY_DIRECTWRITERETAIN (2) + On Windows Vista or later, SC_TECHNOLOGY_DIRECTWRITE (1), + SC_TECHNOLOGY_DIRECTWRITERETAIN (2), or + SC_TECHNOLOGY_DIRECTWRITEDC (3) can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing. SC_TECHNOLOGY_DIRECTWRITERETAIN differs from SC_TECHNOLOGY_DIRECTWRITE by requesting that the frame 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). - Since SC_TECHNOLOGY_DIRECTWRITERETAIN - is provisional, it may be changed or removed in a future release if a better solution is found.

+ Since SC_TECHNOLOGY_DIRECTWRITERETAIN and + SC_TECHNOLOGY_DIRECTWRITEDC + are provisional, they may be changed or removed in a future release if a better solution is found.

SCI_SETFONTQUALITY(int fontQuality)
SCI_GETFONTQUALITY
@@ -7459,8 +7463,9 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next

Provisional features are displayed in this document with a distinctive background colour.

There are currently no provisional messages. - The SC_TECHNOLOGY_DIRECTWRITERETAIN value for - SCI_SETTECHNOLOGY is provisional.

+ The SC_TECHNOLOGY_DIRECTWRITERETAIN and + SC_TECHNOLOGY_DIRECTWRITEDC values for + SCI_SETTECHNOLOGY are provisional.

Using C++11 <regex> is provisional.

diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index ddd3c78a6..58c02178c 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -521,6 +521,11 @@ Bug #1643.
  • + On Windows another DirectWrite mode SC_TECHNOLOGY_DIRECTWRITEDC added + which may avoid drawing failures in some circumstances by drawing into a GDI DC. + This feature is provisional and may be changed or removed if a better solution is found. +
  • +
  • On Windows, avoid processing mouse move events where the mouse has not moved as these can cause unexpected dwell start notifications. Bug #1670. -- cgit v1.2.3