From 109e8f3af847b7fc2b227a32bc1de7bdd516bf5a Mon Sep 17 00:00:00 2001
From: nyamatongwe
-
+
@@ -2182,14 +2182,16 @@ struct TextToFind {
bitmap to the screen. This avoids flickering although it does take longer. The default is for
drawing to be buffered.
SCI_SETTWOPHASEDRAW(bool isBuffered)
+
SCI_SETTWOPHASEDRAW(bool twoPhase)
SCI_GETTWOPHASEDRAW
Two phase drawing is a better but slower way of drawing text.
In single phase drawing each run of characters in one style is drawn along with its background.
- If a character overhangs the end of a run, such as in "T." where the "T" is in a different style
- from the ".", then this can cause the right hand side of the "T" to be overdrawn by the background of
- the "." which cuts it off. Two phase drawing fixes this by drawing all the backgrounds first and then
- drawing the text in transparent mode. Two phase drawing may flicker more than single phase
+ If a character overhangs the end of a run, such as in "V_" where the
+ "V" is in a different style from the "_", then this can cause the right hand
+ side of the "V" to be overdrawn by the background of the "_" which
+ cuts it off. Two phase drawing
+ fixes this by drawing all the backgrounds first and then drawing the text in
+ transparent mode. Two phase drawing may flicker more than single phase
unless buffered drawing is on. The default is for drawing to be two phase.
SCI_SETCODEPAGE(int codePage)
--
cgit v1.2.3