From cc8cdfa9f3707332d702eb3bacb8d3b939095a4a Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 2 Jun 2018 09:24:13 +1000 Subject: Updated to mention bidirectional works on Cocoa. --- doc/ScintillaDoc.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 202a0f5b1..aed82bbc0 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -119,7 +119,7 @@

Scintilla Documentation

-

Last edited 23 May 2018 NH

+

Last edited 2 June 2018 NH

There is an overview of the internal design of Scintilla.
@@ -3731,14 +3731,15 @@ struct Sci_TextToFind { Documents that use multiple languages may contain both directions and this is termed "bidirectional". The default text direction may be right to left or left to right. Scintilla only correctly displays bidirectional text on some platforms. - Currently, there is experimental support for bidirectional text only on Win32 using DirectWrite for UTF-8 documents - in SC_BIDIRECTIONAL_L2R mode. Some features, such as virtual space may not work with + Currently, there is experimental support for bidirectional text on Win32 using DirectWrite and on macOS using Cocoa. + Only UTF-8 documents will show bidirectional behaviour and only in SC_BIDIRECTIONAL_L2R mode. + Some features, such as virtual space may not work with bidirectional text or may work only in some circumstances.

There are additional processing and storage costs to bidirectional text. As some applications may not want to pay the costs, bidirectional support must be explicitly enabled by calling SCI_SETBIDIRECTIONAL(SC_BIDIRECTIONAL_L2R) (1) which chooses left to right as the default direction or SCI_SETBIDIRECTIONAL(SC_BIDIRECTIONAL_R2L) (2) for default right to left. - This should be done after setting the technology to SC_TECHNOLOGY_DIRECTWRITE, + On Win32, this should be done after setting the technology to SC_TECHNOLOGY_DIRECTWRITE, SC_TECHNOLOGY_DIRECTWRITERETAIN, or SC_TECHNOLOGY_DIRECTWRITEDC.

If the call succeeded SCI_GETBIDIRECTIONAL will return the same value otherwise -- cgit v1.2.3