From 7529a6b906f1739188dd31c60af8fd742a7acd20 Mon Sep 17 00:00:00 2001
From: XhmikosR
the name of a macro on Windows.
- Colour holds a platform specific colour identifier - COLORREF for Windows and GdkColor for - GTK+. The red, green and blue components that make up the colour are limited to the 8 bits of - precision available on Windows. ColourPairs are used because not all possible colours are - always available. Using an 8 bit colour mode, which is a common setting for both Windows and - GTK+, only 256 colours are possible on the display. Thus when an application asks for a dull - red, say #400000, it may only be allocated an already available colour such as #800000 or - #330000. With 16 or 2 colour modes even less choice is available and the application will - have to use the limited set of already available colours. -
- A Palette object holds a set of colour pairs and can make the appropriate calls to ask to - allocate these colours and to see what the platform has decided will be allowed. + This is a simple class holding an expected colour. It is internally represented as a single + 32 bit integer in BGR format with 8 bits per colour, but also provides a convenient API to fetch + each component separately. + As a platform might not be able to represent the exact desired colour if it doesn't have 24 bit + depth available, it might not actually represent the exact desired colour but select a best fit + that it can actually render. +- Font holds a platform specific font identifier - HFONT for Windows, GdkFont* for GTK+. It + Font holds a platform specific font identifier - HFONT for Windows, PangoFontDescription* for GTK+. It does not own the identifier and so will not delete the platform font object in its destructor. Client code should call Destroy at appropriate times.
@@ -116,8 +112,8 @@@@ -147,7 +143,7 @@
Menu is a small helper class for constructing popup menus. It contains the platform specific - menu identifier - HMENU for Windows, GtkItemFactory* for GTK+. Most of the work in + menu identifier - HMENU for Windows, GtkMenu* for GTK+. Most of the work in constructing menus requires access to platform events and so is done in the Platform Events and API layer.
diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html index c6929a37..36eb6ad1 100644 --- a/scintilla/doc/ScintillaDoc.html +++ b/scintilla/doc/ScintillaDoc.html @@ -1696,9 +1696,14 @@SCVS_RECTANGULARSELECTION
=1 and
- SCVS_USERACCESSIBLE
=2 which can be set independently.
+ There are three bit flags SCVS_RECTANGULARSELECTION
=1,
+ SCVS_USERACCESSIBLE
=2, and
+ SCVS_NOWRAPLINESTART
=4 which can be set independently.
SCVS_NONE
=0, the default, disables all use of virtual space.
+ SCVS_NOWRAPLINESTART
prevents left arrow movement and selection
+ from wrapping to the previous line.
+ This is most commonly desired in conjunction with virtual space but is an independent
+ setting so works without virtual space.
SCI_SETRECTANGULARSELECTIONMODIFIER(int modifier)
@@ -2718,24 +2723,66 @@
SCI_STYLESETCHARACTERSET(SCE_C_STRING, SC_CHARSET_RUSSIAN)
would ensure that
strings in Russian would display correctly in C and C++ (SCE_C_STRING
is the style
number used by the C and C++ lexer to display literal strings; it has the value 6). This
- feature works differently on Windows and GTK+.
+ feature works differently on Windows and GTK+.SC_CHARSET_DEFAULT
.
The character sets supported on Windows are:
- SC_CHARSET_ANSI
, SC_CHARSET_ARABIC
, SC_CHARSET_BALTIC
,
- SC_CHARSET_CHINESEBIG5
, SC_CHARSET_DEFAULT
,
- SC_CHARSET_EASTEUROPE
, SC_CHARSET_GB2312
,
- SC_CHARSET_GREEK
, SC_CHARSET_HANGUL
, SC_CHARSET_HEBREW
,
- SC_CHARSET_JOHAB
, SC_CHARSET_MAC
, SC_CHARSET_OEM
,
- SC_CHARSET_RUSSIAN
(code page 1251),
- SC_CHARSET_SHIFTJIS
, SC_CHARSET_SYMBOL
, SC_CHARSET_THAI
,
- SC_CHARSET_TURKISH
, and SC_CHARSET_VIETNAMESE
.
SC_CHARSET_ANSI
,
+ SC_CHARSET_ARABIC
,
+ SC_CHARSET_BALTIC
,
+ SC_CHARSET_CHINESEBIG5
,
+ SC_CHARSET_DEFAULT
,
+ SC_CHARSET_EASTEUROPE
,
+ SC_CHARSET_GB2312
,
+ SC_CHARSET_GREEK
,
+ SC_CHARSET_HANGUL
,
+ SC_CHARSET_HEBREW
,
+ SC_CHARSET_JOHAB
,
+ SC_CHARSET_MAC
,
+ SC_CHARSET_OEM
,
+ SC_CHARSET_RUSSIAN
(code page 1251),
+ SC_CHARSET_SHIFTJIS
,
+ SC_CHARSET_SYMBOL
,
+ SC_CHARSET_THAI
,
+ SC_CHARSET_TURKISH
, and
+ SC_CHARSET_VIETNAMESE
.SC_CHARSET_ANSI
and SC_CHARSET_DEFAULT
specify European Windows
+ code page 1252 unless the code page is set.
The character sets supported on GTK+ are:
- SC_CHARSET_ANSI
, SC_CHARSET_OEM866
(code page 866), SC_CHARSET_CYRILLIC
(code page 1251),
+ SC_CHARSET_ANSI
,
+ SC_CHARSET_DEFAULT
(8859-1),
+ SC_CHARSET_OEM866
(code page 866),
+ SC_CHARSET_CYRILLIC
(code page 1251),
+ SC_CHARSET_EASTEUROPE
,
+ SC_CHARSET_GB2312
,
+ SC_CHARSET_HANGUL
,
+ SC_CHARSET_RUSSIAN
(KOI8-R),
+ SC_CHARSET_SHIFTJIS
, and
+ SC_CHARSET_8859_15
.
The character sets supported on Cocoa are:
+ SC_CHARSET_8859_15
,
+ SC_CHARSET_ANSI
(8859-1),
+ SC_CHARSET_ARABIC
,
+ SC_CHARSET_BALTIC
,
+ SC_CHARSET_CHINESEBIG5
,
+ SC_CHARSET_CYRILLIC
(code page 1251),
+ SC_CHARSET_DEFAULT
(8859-1),
SC_CHARSET_EASTEUROPE
,
- SC_CHARSET_GB2312
, SC_CHARSET_HANGUL
,
- SC_CHARSET_RUSSIAN
(KOI8-R), SC_CHARSET_SHIFTJIS
, and
- SC_CHARSET_8859_15
.
SC_CHARSET_GB2312
,
+ SC_CHARSET_GREEK
,
+ SC_CHARSET_HANGUL
,
+ SC_CHARSET_HEBREW
,
+ SC_CHARSET_JOHAB
,
+ SC_CHARSET_MAC
,
+ SC_CHARSET_OEM
,
+ SC_CHARSET_RUSSIAN
(code page 1251),
+ SC_CHARSET_SHIFTJIS
,
+ SC_CHARSET_SYMBOL
,
+ SC_CHARSET_THAI
,
+ SC_CHARSET_TURKISH
,
+ SC_CHARSET_VIETNAMESE
.
SCI_STYLESETCASE(int styleNumber, int caseMode)
SCI_STYLEGETCASE(int styleNumber)
@@ -3312,7 +3359,14 @@
Current platforms perform window buffering so it is almost always better for this option to be turned off. + For Win32 and GTK+, client code should turn off buffering at initialisation. + There are some older platforms and unusual modes where buffering may still be useful. +
SCI_SETPHASESDRAW(int phases)
SCI_GETPHASESDRAW
@@ -3989,8 +4043,9 @@
Indicators are stored in a format similar to run length encoding which is efficient in both speed and storage for sparse information.
-An indicator may store different values for each range but currently all values are drawn the same. - In the future, it may be possible to draw different values in different styles.
+An indicator may store different values for each range but normally all values are drawn the same. + The
+ API may be used to display different colours for different values.Originally, Scintilla used a different technique for indicators but this has been removed diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html index f11d2447..934d2439 100644 --- a/scintilla/doc/ScintillaDownload.html +++ b/scintilla/doc/ScintillaDownload.html @@ -26,9 +26,9 @@
- + Windows - + GTK+/Linux | @@ -42,7 +42,7 @@Pavel Sountsov | Dirk Lorenzen | Kasper B. Graversen | +Chris Mayo | +
Van de Bugger | +Tse Kit Yam | +SmartShare Systems | +Morten Brørup | +|
Alexey Denisov | +jedailey |
@@ -501,6 +510,81 @@