diff options
author | Neil <nyamatongwe@gmail.com> | 2018-06-02 09:24:13 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-06-02 09:24:13 +1000 |
commit | cc8cdfa9f3707332d702eb3bacb8d3b939095a4a (patch) | |
tree | 515cf5e0d670aff22bc7bfe82734206b36eecd25 | |
parent | 716708f589428c12437db228952757ee56b40013 (diff) | |
download | scintilla-mirror-cc8cdfa9f3707332d702eb3bacb8d3b939095a4a.tar.gz |
Updated to mention bidirectional works on Cocoa.
-rw-r--r-- | doc/ScintillaDoc.html | 9 |
1 files changed, 5 insertions, 4 deletions
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 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 23 May 2018 NH</p> + <p>Last edited 2 June 2018 NH</p> <p>There is <a class="jump" href="Design.html">an overview of the internal design of Scintilla</a>.<br /> @@ -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 <code>SC_BIDIRECTIONAL_L2R</code> 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 <code>SC_BIDIRECTIONAL_L2R</code> mode. + Some features, such as virtual space may not work with bidirectional text or may work only in some circumstances.</p> <p>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 <code>SCI_SETBIDIRECTIONAL(SC_BIDIRECTIONAL_L2R)</code> (1) which chooses left to right as the default direction or <code>SCI_SETBIDIRECTIONAL(SC_BIDIRECTIONAL_R2L)</code> (2) for default right to left. - This should be done after setting the technology to <code>SC_TECHNOLOGY_DIRECTWRITE</code>, + On Win32, this should be done after setting the technology to <code>SC_TECHNOLOGY_DIRECTWRITE</code>, <code>SC_TECHNOLOGY_DIRECTWRITERETAIN</code>, or <code>SC_TECHNOLOGY_DIRECTWRITEDC</code>.</p> <p>If the call succeeded <code>SCI_GETBIDIRECTIONAL</code> will return the same value otherwise |