diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
| commit | 6d1bf18357b56cbec7d289c9c9434a7a8888b386 (patch) | |
| tree | e03227ff253d79d62c42b331c2b66d32b81dc9c0 /doc/ScintillaDoc.html | |
| parent | 62b31d42a2ee02b4992134d325fab6f297729094 (diff) | |
| download | scintilla-mirror-6d1bf18357b56cbec7d289c9c9434a7a8888b386.tar.gz | |
Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION API
to optimize speed of character category features.
Diffstat (limited to 'doc/ScintillaDoc.html')
| -rw-r--r-- | doc/ScintillaDoc.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 47d057ff4..e91f8ec3b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2470,6 +2470,8 @@ struct Sci_TextToFind { <a class="message" href="#SCI_SETPUNCTUATIONCHARS">SCI_SETPUNCTUATIONCHARS(<unused>, const char *characters)</a><br /> <a class="message" href="#SCI_GETPUNCTUATIONCHARS">SCI_GETPUNCTUATIONCHARS(<unused>, char *characters) → int</a><br /> <a class="message" href="#SCI_SETCHARSDEFAULT">SCI_SETCHARSDEFAULT</a><br /> + <a class="message" href="#SCI_SETCHARACTERCATEGORYOPTIMIZATION">SCI_SETCHARACTERCATEGORYOPTIMIZATION(int countCharacters)</a><br /> + <a class="message" href="#SCI_GETCHARACTERCATEGORYOPTIMIZATION">SCI_GETCHARACTERCATEGORYOPTIMIZATION → int</a><br /> <p><b id="SCI_WORDENDPOSITION">SCI_WORDENDPOSITION(int pos, bool onlyWordCharacters) → int</b><br /> <b id="SCI_WORDSTARTPOSITION">SCI_WORDSTARTPOSITION(int pos, bool onlyWordCharacters) → int</b><br /> @@ -2597,6 +2599,15 @@ struct Sci_TextToFind { characters with codes less than 0x20, with word characters set to alphanumeric and '_'. </p> + <p><b id="SCI_SETCHARACTERCATEGORYOPTIMIZATION">SCI_SETCHARACTERCATEGORYOPTIMIZATION(int countCharacters)</b><br /> + <b id="SCI_GETCHARACTERCATEGORYOPTIMIZATION">SCI_GETCHARACTERCATEGORYOPTIMIZATION → int</b><br /> + Optimize speed of character category features like determining whether a character is a space or number at the expense of memory. + Mostly used for Unicode documents. + The countCharacters parameter determines how many character starting from 0 are added to a look-up table with one byte used for each character. + It is reasonable to cover the set of characters likely to be used in a document so 0x100 for simple Roman text, + 0x1000 to cover most simple alphabets, 0x10000 to cover most of East Asian languages, and 0x110000 to cover all possible characters. + </p> + <p>Word keyboard commands are:</p> <ul> <li class="message" id="SCI_WORDLEFT">SCI_WORDLEFT</li> |
