aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2015-02-16 11:13:24 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2015-02-16 11:13:24 +1100
commit04477a781d31e2c4e3b10cfe09d7c025fd897421 (patch)
tree0cf04b2c878275d6d35a425f3efc34ad5db831e4 /doc
parent4e705edb0910461ebe675eb57d8fd08cc94495ec (diff)
downloadscintilla-mirror-04477a781d31e2c4e3b10cfe09d7c025fd897421.tar.gz
Implement SCI_TARGETASUTF8 and SCI_ENCODEDFROMUTF8 on Cocoa.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 46039ed54..1749fa1f9 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -585,12 +585,14 @@ struct Sci_TextRange {
};
</pre>
- <h3 id="EncodedAccess">GTK+-specific: Access to encoded text</h3>
+ <h3 id="EncodedAccess">Specific to GTK+ and Cocoa only: Access to encoded text</h3>
<p><b id="SCI_TARGETASUTF8">SCI_TARGETASUTF8(&lt;unused&gt;, char *s)</b><br />
This method retrieves the value of the target encoded as UTF-8 which is the default
encoding of GTK+ so is useful for retrieving text for use in other parts of the user interface,
such as find and replace dialogs. The length of the encoded text in bytes is returned.
+ Cocoa uses UTF-16 which is easily converted from UTF-8 so this method can be used to perform the
+ more complex work of transcoding from the various of encodings supported.
</p>
<p><b id="SCI_ENCODEDFROMUTF8">SCI_ENCODEDFROMUTF8(const char *utf8, char *encoded)</b><br />