aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-11-04 09:43:00 +1100
committerNeil <nyamatongwe@gmail.com>2025-11-04 09:43:00 +1100
commitdab0b09e330c037e3786e7841dabbce046796217 (patch)
tree4f7833b68aed99938e4540d87c2af5a43392c1c0
parent5229d476ef439c0a95095ba5915351f1a3b8900e (diff)
downloadscintilla-mirror-dab0b09e330c037e3786e7841dabbce046796217.tar.gz
Feature [feature-requests:#1569]. Update to Unicode 16.
-rw-r--r--doc/ScintillaHistory.html4
-rw-r--r--src/CaseConvert.cxx6
-rw-r--r--src/CharacterCategoryMap.cxx132
3 files changed, 121 insertions, 21 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 0e1394f7a..b63c9851d 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -610,6 +610,10 @@
<a href="https://sourceforge.net/p/scintilla/bugs/2487/">Bug #2487</a>.
</li>
<li>
+ Update to Unicode 16.
+ <a href="https://sourceforge.net/p/scintilla/feature-requests/1569/">Feature #1569</a>.
+ </li>
+ <li>
Fix bug when indenting rectangular selection.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1567/">Feature #1567</a>.
</li>
diff --git a/src/CaseConvert.cxx b/src/CaseConvert.cxx
index 560bc8c70..eb02cd599 100644
--- a/src/CaseConvert.cxx
+++ b/src/CaseConvert.cxx
@@ -84,6 +84,7 @@ constexpr int symmetricCaseConversionRanges[] = {
66979,66940,15,1,
66995,66956,7,1,
68800,68736,51,1,
+68976,68944,22,1,
71872,71840,32,1,
93792,93760,32,1,
125218,125184,34,1,
@@ -114,6 +115,7 @@ constexpr int symmetricCaseConversions[] = {
405,502,
409,408,
410,573,
+411,42972,
414,544,
417,416,
419,418,
@@ -149,6 +151,7 @@ constexpr int symmetricCaseConversions[] = {
608,403,
609,42924,
611,404,
+612,42955,
613,42893,
614,42922,
616,407,
@@ -195,6 +198,7 @@ constexpr int symmetricCaseConversions[] = {
4349,7357,
4350,7358,
4351,7359,
+7306,7305,
7545,42877,
7549,11363,
7566,42950,
@@ -246,9 +250,11 @@ constexpr int symmetricCaseConversions[] = {
42900,42948,
42952,42951,
42954,42953,
+42957,42956,
42961,42960,
42967,42966,
42969,42968,
+42971,42970,
42998,42997,
43859,42931,
67003,66964,
diff --git a/src/CharacterCategoryMap.cxx b/src/CharacterCategoryMap.cxx
index 20fa7c480..de291a0a1 100644
--- a/src/CharacterCategoryMap.cxx
+++ b/src/CharacterCategoryMap.cxx
@@ -22,7 +22,7 @@ namespace {
const int catRanges[] = {
//++Autogenerated -- start of section automatically generated
-// Created with Python 3.13.0, Unicode 15.1.0
+// Created with Python 3.14.0, Unicode 16.0.0
25,
1046,
1073,
@@ -756,7 +756,7 @@ const int catRanges[] = {
70141,
70170,
70237,
-70405,
+70373,
70660,
71971,
72005,
@@ -1427,13 +1427,13 @@ const int catRanges[] = {
223334,
223396,
223677,
+223697,
223752,
224081,
224309,
224613,
224917,
225201,
-225277,
225285,
225350,
225380,
@@ -1471,7 +1471,9 @@ const int catRanges[] = {
233219,
233425,
233473,
-233789,
+233760,
+233793,
+233853,
233984,
235389,
235424,
@@ -1950,7 +1952,7 @@ const int catRanges[] = {
292501,
293778,
293973,
-296189,
+296285,
296981,
297341,
297994,
@@ -2319,7 +2321,7 @@ const int catRanges[] = {
406229,
406532,
407573,
-408733,
+408797,
409077,
409092,
409621,
@@ -2588,7 +2590,9 @@ const int catRanges[] = {
1374465,
1374496,
1374529,
-1374589,
+1374560,
+1374625,
+1374685,
1374720,
1374753,
1374813,
@@ -2599,7 +2603,10 @@ const int catRanges[] = {
1374945,
1374976,
1375009,
-1375069,
+1375040,
+1375073,
+1375104,
+1375165,
1375811,
1375904,
1375937,
@@ -3005,6 +3012,8 @@ const int catRanges[] = {
2144093,
2144097,
2144189,
+2144260,
+2145949,
2146308,
2156285,
2156548,
@@ -3118,6 +3127,19 @@ const int catRanges[] = {
2204957,
2205192,
2205533,
+2205704,
+2206020,
+2206147,
+2206180,
+2206208,
+2206941,
+2207013,
+2207180,
+2207203,
+2207233,
+2207965,
+2208210,
+2208285,
2214922,
2215933,
2215940,
@@ -3127,7 +3149,9 @@ const int catRanges[] = {
2217437,
2217476,
2217565,
-2219941,
+2218052,
+2218173,
+2219909,
2220036,
2220970,
2221284,
@@ -3283,6 +3307,37 @@ const int catRanges[] = {
2256317,
2256389,
2256573,
+2256900,
+2257245,
+2257252,
+2257309,
+2257348,
+2257405,
+2257412,
+2258653,
+2258660,
+2258694,
+2258789,
+2259005,
+2259014,
+2259069,
+2259110,
+2259165,
+2259174,
+2259325,
+2259334,
+2259397,
+2259430,
+2259461,
+2259492,
+2259525,
+2259556,
+2259601,
+2259677,
+2259697,
+2259773,
+2260005,
+2260093,
2260996,
2262694,
2262789,
@@ -3353,9 +3408,13 @@ const int catRanges[] = {
2283357,
2283528,
2283869,
+2284040,
+2284701,
2285572,
2286461,
2286501,
+2286534,
+2286565,
2286598,
2286661,
2286790,
@@ -3444,6 +3503,11 @@ const int catRanges[] = {
2318141,
2318353,
2318685,
+2324484,
+2325553,
+2325597,
+2326024,
+2326365,
2326532,
2326845,
2326852,
@@ -3525,7 +3589,8 @@ const int catRanges[] = {
2353221,
2353265,
2353672,
-2354013,
+2353989,
+2354045,
2356740,
2356797,
2357258,
@@ -3551,8 +3616,16 @@ const int catRanges[] = {
2525220,
2525413,
2525917,
+2526212,
+2654077,
2654212,
2672893,
+2891780,
+2892741,
+2893126,
+2893221,
+2893320,
+2893661,
2949124,
2967357,
2967556,
@@ -3585,6 +3658,12 @@ const int catRanges[] = {
2977565,
2977700,
2978333,
+2992131,
+2992228,
+2993507,
+2993585,
+2993672,
+2994013,
3000320,
3001345,
3002378,
@@ -3610,7 +3689,7 @@ const int catRanges[] = {
3211037,
3211268,
3250909,
-3252228,
+3252196,
3252541,
3538435,
3538589,
@@ -3643,6 +3722,11 @@ const int catRanges[] = {
3642353,
3642394,
3642525,
+3768341,
+3776008,
+3776349,
+3776533,
+3790493,
3792901,
3794397,
3794437,
@@ -3827,6 +3911,13 @@ const int catRanges[] = {
3972485,
3972616,
3972957,
+3979780,
+3980741,
+3980804,
+3980840,
+3981181,
+3981297,
+3981341,
3996676,
3996925,
3996932,
@@ -3979,7 +4070,9 @@ const int catRanges[] = {
4133397,
4134365,
4134421,
-4134493,
+4134813,
+4134933,
+4135005,
4136981,
4147869,
4148245,
@@ -3987,21 +4080,18 @@ const int catRanges[] = {
4148757,
4149181,
4149269,
-4149565,
-4149781,
-4151261,
-4151285,
-4151517,
+4149597,
+4149749,
+4151549,
4151765,
-4152221,
-4152341,
-4152637,
+4152253,
+4152309,
+4152669,
4152853,
4153149,
4153365,
4158077,
4158101,
-4159869,
4161032,
4161373,
4194308,