/usr/include/qt4/Qsci/qsciscintillabase.h is in libqscintilla2-dev 2.9.1+dfsg-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 | // This class defines the "official" low-level API.
//
// Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of QScintilla.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appearing in
// the file LICENSE included in the packaging of this file. Please review the
// following information to ensure the GNU General Public License version 3.0
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
//
// If you do not wish to use this file under the terms of the GPL version 3.0
// then you may purchase a commercial license. For more information contact
// info@riverbankcomputing.com.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#ifndef QSCISCINTILLABASE_H
#define QSCISCINTILLABASE_H
#ifdef __APPLE__
extern "C++" {
#endif
#include <qglobal.h>
#include <QAbstractScrollArea>
#include <QByteArray>
#include <QPoint>
#include <QTimer>
#include <Qsci/qsciglobal.h>
QT_BEGIN_NAMESPACE
class QColor;
class QImage;
class QMimeData;
class QPainter;
class QPixmap;
QT_END_NAMESPACE
class QsciScintillaQt;
//! \brief The QsciScintillaBase class implements the Scintilla editor widget
//! and its low-level API.
//!
//! Scintilla (http://www.scintilla.org) is a powerful C++ editor class that
//! supports many features including syntax styling, error indicators, code
//! completion and call tips. It is particularly useful as a programmer's
//! editor.
//!
//! QsciScintillaBase is a port to Qt of Scintilla. It implements the standard
//! Scintilla API which consists of a number of messages each taking up to
//! two arguments.
//!
//! See QsciScintilla for the implementation of a higher level API that is more
//! consistent with the rest of the Qt toolkit.
class QSCINTILLA_EXPORT QsciScintillaBase : public QAbstractScrollArea
{
Q_OBJECT
public:
//! The low-level Scintilla API is implemented as a set of messages each of
//! which takes up to two parameters (\a wParam and \a lParam) and
//! optionally return a value. This enum defines all the possible messages.
enum
{
//!
SCI_START = 2000,
//!
SCI_OPTIONAL_START = 3000,
//!
SCI_LEXER_START = 4000,
//! This message appends some text to the end of the document.
//! \a wParam is the length of the text.
//! \a lParam is the text to be appended.
SCI_ADDTEXT = 2001,
//!
SCI_ADDSTYLEDTEXT = 2002,
//!
SCI_INSERTTEXT = 2003,
//!
SCI_CLEARALL = 2004,
//!
SCI_CLEARDOCUMENTSTYLE = 2005,
//!
SCI_GETLENGTH = 2006,
//!
SCI_GETCHARAT = 2007,
//! This message returns the current position.
//!
//! \sa SCI_SETCURRENTPOS
SCI_GETCURRENTPOS = 2008,
//! This message returns the anchor.
//!
//! \sa SCI_SETANCHOR
SCI_GETANCHOR = 2009,
//!
SCI_GETSTYLEAT = 2010,
//!
SCI_REDO = 2011,
//!
SCI_SETUNDOCOLLECTION = 2012,
//!
SCI_SELECTALL = 2013,
//! This message marks the current state of the text as the the save
//! point. This is usually done when the text is saved or loaded.
//!
//! \sa SCN_SAVEPOINTREACHED(), SCN_SAVEPOINTLEFT()
SCI_SETSAVEPOINT = 2014,
//!
SCI_GETSTYLEDTEXT = 2015,
//!
SCI_CANREDO = 2016,
//! This message returns the line that contains a particular instance
//! of a marker.
//! \a wParam is the handle of the marker.
//!
//! \sa SCI_MARKERADD
SCI_MARKERLINEFROMHANDLE = 2017,
//! This message removes a particular instance of a marker.
//! \a wParam is the handle of the marker.
//!
//! \sa SCI_MARKERADD
SCI_MARKERDELETEHANDLE = 2018,
//!
SCI_GETUNDOCOLLECTION = 2019,
//!
SCI_GETVIEWWS = 2020,
//!
SCI_SETVIEWWS = 2021,
//!
SCI_POSITIONFROMPOINT = 2022,
//!
SCI_POSITIONFROMPOINTCLOSE = 2023,
//!
SCI_GOTOLINE = 2024,
//! This message clears the current selection and sets the current
//! position.
//! \a wParam is the new current position.
//!
//! \sa SCI_SETCURRENTPOS
SCI_GOTOPOS = 2025,
//! This message sets the anchor.
//! \a wParam is the new anchor.
//!
//! \sa SCI_GETANCHOR
SCI_SETANCHOR = 2026,
//!
SCI_GETCURLINE = 2027,
//! This message returns the character position of the start of the
//! text that needs to be syntax styled.
//!
//! \sa SCN_STYLENEEDED()
SCI_GETENDSTYLED = 2028,
//!
SCI_CONVERTEOLS = 2029,
//!
SCI_GETEOLMODE = 2030,
//!
SCI_SETEOLMODE = 2031,
//!
SCI_STARTSTYLING = 2032,
//!
SCI_SETSTYLING = 2033,
//!
SCI_GETBUFFEREDDRAW = 2034,
//!
SCI_SETBUFFEREDDRAW = 2035,
//!
SCI_SETTABWIDTH = 2036,
//!
SCI_GETTABWIDTH = 2121,
//!
SCI_SETCODEPAGE = 2037,
//! This message sets the symbol used to draw one of 32 markers. Some
//! markers have pre-defined uses, see the SC_MARKNUM_* values.
//! \a wParam is the number of the marker.
//! \a lParam is the marker symbol and is one of the SC_MARK_* values.
//!
//! \sa SCI_MARKERADD, SCI_MARKERDEFINEPIXMAP,
//! SCI_MARKERDEFINERGBAIMAGE
SCI_MARKERDEFINE = 2040,
//! This message sets the foreground colour used to draw a marker. A
//! colour is represented as a 24 bit value. The 8 least significant
//! bits correspond to red, the middle 8 bits correspond to green, and
//! the 8 most significant bits correspond to blue. The default value
//! is 0x000000.
//! \a wParam is the number of the marker.
//! \a lParam is the colour.
//!
//! \sa SCI_MARKERSETBACK
SCI_MARKERSETFORE = 2041,
//! This message sets the background colour used to draw a marker. A
//! colour is represented as a 24 bit value. The 8 least significant
//! bits correspond to red, the middle 8 bits correspond to green, and
//! the 8 most significant bits correspond to blue. The default value
//! is 0xffffff.
//! \a wParam is the number of the marker.
//! \a lParam is the colour.
//!
//! \sa SCI_MARKERSETFORE
SCI_MARKERSETBACK = 2042,
//! This message adds a marker to a line. A handle for the marker is
//! returned which can be used to track the marker's position.
//! \a wParam is the line number.
//! \a lParam is the number of the marker.
//!
//! \sa SCI_MARKERDELETE, SCI_MARKERDELETEALL,
//! SCI_MARKERDELETEHANDLE
SCI_MARKERADD = 2043,
//! This message deletes a marker from a line.
//! \a wParam is the line number.
//! \a lParam is the number of the marker.
//!
//! \sa SCI_MARKERADD, SCI_MARKERDELETEALL
SCI_MARKERDELETE = 2044,
//! This message deletes all occurences of a marker.
//! \a wParam is the number of the marker. If \a wParam is -1 then all
//! markers are removed.
//!
//! \sa SCI_MARKERADD, SCI_MARKERDELETE
SCI_MARKERDELETEALL = 2045,
//! This message returns the 32 bit mask of markers at a line.
//! \a wParam is the line number.
SCI_MARKERGET = 2046,
//! This message looks for the next line to contain at least one marker
//! contained in a 32 bit mask of markers and returns the line number.
//! \a wParam is the line number to start the search from.
//! \a lParam is the mask of markers to search for.
//!
//! \sa SCI_MARKERPREVIOUS
SCI_MARKERNEXT = 2047,
//! This message looks for the previous line to contain at least one
//! marker contained in a 32 bit mask of markers and returns the line
//! number.
//! \a wParam is the line number to start the search from.
//! \a lParam is the mask of markers to search for.
//!
//! \sa SCI_MARKERNEXT
SCI_MARKERPREVIOUS = 2048,
//! This message sets the symbol used to draw one of the 32 markers to
//! a pixmap. Pixmaps use the SC_MARK_PIXMAP marker symbol.
//! \a wParam is the number of the marker.
//! \a lParam is a pointer to a QPixmap instance. Note that in other
//! ports of Scintilla this is a pointer to either raw or textual XPM
//! image data.
//!
//! \sa SCI_MARKERDEFINE, SCI_MARKERDEFINERGBAIMAGE
SCI_MARKERDEFINEPIXMAP = 2049,
//! This message sets what can be displayed in a margin.
//! \a wParam is the number of the margin.
//! \a lParam is the logical or of the SC_MARGIN_* values.
//!
//! \sa SCI_GETMARGINTYPEN
SCI_SETMARGINTYPEN = 2240,
//! This message returns what can be displayed in a margin.
//! \a wParam is the number of the margin.
//!
//! \sa SCI_SETMARGINTYPEN
SCI_GETMARGINTYPEN = 2241,
//! This message sets the width of a margin in pixels.
//! \a wParam is the number of the margin.
//! \a lParam is the new margin width.
//!
//! \sa SCI_GETMARGINWIDTHN
SCI_SETMARGINWIDTHN = 2242,
//! This message returns the width of a margin in pixels.
//! \a wParam is the number of the margin.
//!
//! \sa SCI_SETMARGINWIDTHN
SCI_GETMARGINWIDTHN = 2243,
//! This message sets the mask of a margin. The mask is a 32 value
//! with one bit for each possible marker. If a bit is set then the
//! corresponding marker is displayed. By default, all markers are
//! displayed.
//! \a wParam is the number of the margin.
//! \a lParam is the new margin mask.
//!
//! \sa SCI_GETMARGINMASKN, SCI_MARKERDEFINE
SCI_SETMARGINMASKN = 2244,
//! This message returns the mask of a margin.
//! \a wParam is the number of the margin.
//!
//! \sa SCI_SETMARGINMASKN
SCI_GETMARGINMASKN = 2245,
//! This message sets the sensitivity of a margin to mouse clicks.
//! \a wParam is the number of the margin.
//! \a lParam is non-zero to make the margin sensitive to mouse clicks.
//! When the mouse is clicked the SCN_MARGINCLICK() signal is emitted.
//!
//! \sa SCI_GETMARGINSENSITIVEN, SCN_MARGINCLICK()
SCI_SETMARGINSENSITIVEN = 2246,
//! This message returns the sensitivity of a margin to mouse clicks.
//! \a wParam is the number of the margin.
//!
//! \sa SCI_SETMARGINSENSITIVEN, SCN_MARGINCLICK()
SCI_GETMARGINSENSITIVEN = 2247,
//! This message sets the cursor shape displayed over a margin.
//! \a wParam is the number of the margin.
//! \a lParam is the cursor shape, normally either SC_CURSORARROW or
//! SC_CURSORREVERSEARROW. Note that, currently, QScintilla implements
//! both of these as Qt::ArrowCursor.
//!
//! \sa SCI_GETMARGINCURSORN
SCI_SETMARGINCURSORN = 2248,
//! This message returns the cursor shape displayed over a margin.
//! \a wParam is the number of the margin.
//!
//! \sa SCI_SETMARGINCURSORN
SCI_GETMARGINCURSORN = 2249,
//!
SCI_STYLECLEARALL = 2050,
//!
SCI_STYLESETFORE = 2051,
//!
SCI_STYLESETBACK = 2052,
//!
SCI_STYLESETBOLD = 2053,
//!
SCI_STYLESETITALIC = 2054,
//!
SCI_STYLESETSIZE = 2055,
//!
SCI_STYLESETFONT = 2056,
//!
SCI_STYLESETEOLFILLED = 2057,
//!
SCI_STYLERESETDEFAULT = 2058,
//!
SCI_STYLESETUNDERLINE = 2059,
//!
SCI_STYLESETCASE = 2060,
//!
SCI_STYLESETSIZEFRACTIONAL = 2061,
//!
SCI_STYLEGETSIZEFRACTIONAL = 2062,
//!
SCI_STYLESETWEIGHT = 2063,
//!
SCI_STYLEGETWEIGHT = 2064,
//!
SCI_STYLESETCHARACTERSET = 2066,
//!
SCI_SETSELFORE = 2067,
//!
SCI_SETSELBACK = 2068,
//!
SCI_SETCARETFORE = 2069,
//!
SCI_ASSIGNCMDKEY = 2070,
//!
SCI_CLEARCMDKEY = 2071,
//!
SCI_CLEARALLCMDKEYS = 2072,
//!
SCI_SETSTYLINGEX = 2073,
//!
SCI_STYLESETVISIBLE = 2074,
//!
SCI_GETCARETPERIOD = 2075,
//!
SCI_SETCARETPERIOD = 2076,
//!
SCI_SETWORDCHARS = 2077,
//!
SCI_BEGINUNDOACTION = 2078,
//!
SCI_ENDUNDOACTION = 2079,
//!
SCI_INDICSETSTYLE = 2080,
//!
SCI_INDICGETSTYLE = 2081,
//!
SCI_INDICSETFORE = 2082,
//!
SCI_INDICGETFORE = 2083,
//!
SCI_SETWHITESPACEFORE = 2084,
//!
SCI_SETWHITESPACEBACK = 2085,
//!
SCI_SETWHITESPACESIZE = 2086,
//!
SCI_GETWHITESPACESIZE = 2087,
//!
SCI_SETSTYLEBITS = 2090,
//!
SCI_GETSTYLEBITS = 2091,
//!
SCI_SETLINESTATE = 2092,
//!
SCI_GETLINESTATE = 2093,
//!
SCI_GETMAXLINESTATE = 2094,
//!
SCI_GETCARETLINEVISIBLE = 2095,
//!
SCI_SETCARETLINEVISIBLE = 2096,
//!
SCI_GETCARETLINEBACK = 2097,
//!
SCI_SETCARETLINEBACK = 2098,
//!
SCI_STYLESETCHANGEABLE = 2099,
//!
SCI_AUTOCSHOW = 2100,
//!
SCI_AUTOCCANCEL = 2101,
//!
SCI_AUTOCACTIVE = 2102,
//!
SCI_AUTOCPOSSTART = 2103,
//!
SCI_AUTOCCOMPLETE = 2104,
//!
SCI_AUTOCSTOPS = 2105,
//!
SCI_AUTOCSETSEPARATOR = 2106,
//!
SCI_AUTOCGETSEPARATOR = 2107,
//!
SCI_AUTOCSELECT = 2108,
//!
SCI_AUTOCSETCANCELATSTART = 2110,
//!
SCI_AUTOCGETCANCELATSTART = 2111,
//!
SCI_AUTOCSETFILLUPS = 2112,
//!
SCI_AUTOCSETCHOOSESINGLE = 2113,
//!
SCI_AUTOCGETCHOOSESINGLE = 2114,
//!
SCI_AUTOCSETIGNORECASE = 2115,
//!
SCI_AUTOCGETIGNORECASE = 2116,
//!
SCI_USERLISTSHOW = 2117,
//!
SCI_AUTOCSETAUTOHIDE = 2118,
//!
SCI_AUTOCGETAUTOHIDE = 2119,
//!
SCI_AUTOCSETDROPRESTOFWORD = 2270,
//!
SCI_AUTOCGETDROPRESTOFWORD = 2271,
//!
SCI_SETINDENT = 2122,
//!
SCI_GETINDENT = 2123,
//!
SCI_SETUSETABS = 2124,
//!
SCI_GETUSETABS = 2125,
//!
SCI_SETLINEINDENTATION = 2126,
//!
SCI_GETLINEINDENTATION = 2127,
//!
SCI_GETLINEINDENTPOSITION = 2128,
//!
SCI_GETCOLUMN = 2129,
//!
SCI_SETHSCROLLBAR = 2130,
//!
SCI_GETHSCROLLBAR = 2131,
//!
SCI_SETINDENTATIONGUIDES = 2132,
//!
SCI_GETINDENTATIONGUIDES = 2133,
//!
SCI_SETHIGHLIGHTGUIDE = 2134,
//!
SCI_GETHIGHLIGHTGUIDE = 2135,
//!
SCI_GETLINEENDPOSITION = 2136,
//!
SCI_GETCODEPAGE = 2137,
//!
SCI_GETCARETFORE = 2138,
//! This message returns a non-zero value if the document is read-only.
//!
//! \sa SCI_SETREADONLY
SCI_GETREADONLY = 2140,
//! This message sets the current position.
//! \a wParam is the new current position.
//!
//! \sa SCI_GETCURRENTPOS
SCI_SETCURRENTPOS = 2141,
//!
SCI_SETSELECTIONSTART = 2142,
//!
SCI_GETSELECTIONSTART = 2143,
//!
SCI_SETSELECTIONEND = 2144,
//!
SCI_GETSELECTIONEND = 2145,
//!
SCI_SETPRINTMAGNIFICATION = 2146,
//!
SCI_GETPRINTMAGNIFICATION = 2147,
//!
SCI_SETPRINTCOLOURMODE = 2148,
//!
SCI_GETPRINTCOLOURMODE = 2149,
//!
SCI_FINDTEXT = 2150,
//!
SCI_FORMATRANGE = 2151,
//!
SCI_GETFIRSTVISIBLELINE = 2152,
//!
SCI_GETLINE = 2153,
//!
SCI_GETLINECOUNT = 2154,
//!
SCI_SETMARGINLEFT = 2155,
//!
SCI_GETMARGINLEFT = 2156,
//!
SCI_SETMARGINRIGHT = 2157,
//!
SCI_GETMARGINRIGHT = 2158,
//! This message returns a non-zero value if the document has been
//! modified.
SCI_GETMODIFY = 2159,
//!
SCI_SETSEL = 2160,
//!
SCI_GETSELTEXT = 2161,
//!
SCI_GETTEXTRANGE = 2162,
//!
SCI_HIDESELECTION = 2163,
//!
SCI_POINTXFROMPOSITION = 2164,
//!
SCI_POINTYFROMPOSITION = 2165,
//!
SCI_LINEFROMPOSITION = 2166,
//!
SCI_POSITIONFROMLINE = 2167,
//!
SCI_LINESCROLL = 2168,
//!
SCI_SCROLLCARET = 2169,
//!
SCI_REPLACESEL = 2170,
//! This message sets the read-only state of the document.
//! \a wParam is the new read-only state of the document.
//!
//! \sa SCI_GETREADONLY
SCI_SETREADONLY = 2171,
//!
SCI_NULL = 2172,
//!
SCI_CANPASTE = 2173,
//!
SCI_CANUNDO = 2174,
//! This message empties the undo buffer.
SCI_EMPTYUNDOBUFFER = 2175,
//!
SCI_UNDO = 2176,
//!
SCI_CUT = 2177,
//!
SCI_COPY = 2178,
//!
SCI_PASTE = 2179,
//!
SCI_CLEAR = 2180,
//! This message sets the text of the document.
//! \a wParam is unused.
//! \a lParam is the new text of the document.
//!
//! \sa SCI_GETTEXT
SCI_SETTEXT = 2181,
//! This message gets the text of the document.
//! \a wParam is size of the buffer that the text is copied to.
//! \a lParam is the address of the buffer that the text is copied to.
//!
//! \sa SCI_SETTEXT
SCI_GETTEXT = 2182,
//! This message returns the length of the document.
SCI_GETTEXTLENGTH = 2183,
//!
SCI_GETDIRECTFUNCTION = 2184,
//!
SCI_GETDIRECTPOINTER = 2185,
//!
SCI_SETOVERTYPE = 2186,
//!
SCI_GETOVERTYPE = 2187,
//!
SCI_SETCARETWIDTH = 2188,
//!
SCI_GETCARETWIDTH = 2189,
//!
SCI_SETTARGETSTART = 2190,
//!
SCI_GETTARGETSTART = 2191,
//!
SCI_SETTARGETEND = 2192,
//!
SCI_GETTARGETEND = 2193,
//!
SCI_REPLACETARGET = 2194,
//!
SCI_REPLACETARGETRE = 2195,
//!
SCI_SEARCHINTARGET = 2197,
//!
SCI_SETSEARCHFLAGS = 2198,
//!
SCI_GETSEARCHFLAGS = 2199,
//!
SCI_CALLTIPSHOW = 2200,
//!
SCI_CALLTIPCANCEL = 2201,
//!
SCI_CALLTIPACTIVE = 2202,
//!
SCI_CALLTIPPOSSTART = 2203,
//!
SCI_CALLTIPSETHLT = 2204,
//!
SCI_CALLTIPSETBACK = 2205,
//!
SCI_CALLTIPSETFORE = 2206,
//!
SCI_CALLTIPSETFOREHLT = 2207,
//!
SCI_AUTOCSETMAXWIDTH = 2208,
//!
SCI_AUTOCGETMAXWIDTH = 2209,
//! This message is not implemented.
SCI_AUTOCSETMAXHEIGHT = 2210,
//!
SCI_AUTOCGETMAXHEIGHT = 2211,
//!
SCI_CALLTIPUSESTYLE = 2212,
//!
SCI_CALLTIPSETPOSITION = 2213,
//!
SCI_CALLTIPSETPOSSTART = 2214,
//!
SCI_VISIBLEFROMDOCLINE = 2220,
//!
SCI_DOCLINEFROMVISIBLE = 2221,
//!
SCI_SETFOLDLEVEL = 2222,
//!
SCI_GETFOLDLEVEL = 2223,
//!
SCI_GETLASTCHILD = 2224,
//!
SCI_GETFOLDPARENT = 2225,
//!
SCI_SHOWLINES = 2226,
//!
SCI_HIDELINES = 2227,
//!
SCI_GETLINEVISIBLE = 2228,
//!
SCI_SETFOLDEXPANDED = 2229,
//!
SCI_GETFOLDEXPANDED = 2230,
//!
SCI_TOGGLEFOLD = 2231,
//!
SCI_ENSUREVISIBLE = 2232,
//!
SCI_SETFOLDFLAGS = 2233,
//!
SCI_ENSUREVISIBLEENFORCEPOLICY = 2234,
//!
SCI_WRAPCOUNT = 2235,
//!
SCI_GETALLLINESVISIBLE = 2236,
//!
SCI_FOLDLINE = 2237,
//!
SCI_FOLDCHILDREN = 2238,
//!
SCI_EXPANDCHILDREN = 2239,
//!
SCI_SETTABINDENTS = 2260,
//!
SCI_GETTABINDENTS = 2261,
//!
SCI_SETBACKSPACEUNINDENTS = 2262,
//!
SCI_GETBACKSPACEUNINDENTS = 2263,
//!
SCI_SETMOUSEDWELLTIME = 2264,
//!
SCI_GETMOUSEDWELLTIME = 2265,
//!
SCI_WORDSTARTPOSITION = 2266,
//!
SCI_WORDENDPOSITION = 2267,
//!
SCI_SETWRAPMODE = 2268,
//!
SCI_GETWRAPMODE = 2269,
//!
SCI_SETLAYOUTCACHE = 2272,
//!
SCI_GETLAYOUTCACHE = 2273,
//!
SCI_SETSCROLLWIDTH = 2274,
//!
SCI_GETSCROLLWIDTH = 2275,
//! This message returns the width of some text when rendered in a
//! particular style.
//! \a wParam is the style number and is one of the STYLE_* values or
//! one of the styles defined by a lexer.
//! \a lParam is a pointer to the text.
SCI_TEXTWIDTH = 2276,
//!
SCI_SETENDATLASTLINE = 2277,
//!
SCI_GETENDATLASTLINE = 2278,
//!
SCI_TEXTHEIGHT = 2279,
//!
SCI_SETVSCROLLBAR = 2280,
//!
SCI_GETVSCROLLBAR = 2281,
//!
SCI_APPENDTEXT = 2282,
//!
SCI_GETTWOPHASEDRAW = 2283,
//!
SCI_SETTWOPHASEDRAW = 2284,
//!
SCI_AUTOCGETTYPESEPARATOR = 2285,
//!
SCI_AUTOCSETTYPESEPARATOR = 2286,
//!
SCI_TARGETFROMSELECTION = 2287,
//!
SCI_LINESJOIN = 2288,
//!
SCI_LINESSPLIT = 2289,
//!
SCI_SETFOLDMARGINCOLOUR = 2290,
//!
SCI_SETFOLDMARGINHICOLOUR = 2291,
//!
SCI_MARKERSETBACKSELECTED = 2292,
//!
SCI_MARKERENABLEHIGHLIGHT = 2293,
//!
SCI_LINEDOWN = 2300,
//!
SCI_LINEDOWNEXTEND = 2301,
//!
SCI_LINEUP = 2302,
//!
SCI_LINEUPEXTEND = 2303,
//!
SCI_CHARLEFT = 2304,
//!
SCI_CHARLEFTEXTEND = 2305,
//!
SCI_CHARRIGHT = 2306,
//!
SCI_CHARRIGHTEXTEND = 2307,
//!
SCI_WORDLEFT = 2308,
//!
SCI_WORDLEFTEXTEND = 2309,
//!
SCI_WORDRIGHT = 2310,
//!
SCI_WORDRIGHTEXTEND = 2311,
//!
SCI_HOME = 2312,
//!
SCI_HOMEEXTEND = 2313,
//!
SCI_LINEEND = 2314,
//!
SCI_LINEENDEXTEND = 2315,
//!
SCI_DOCUMENTSTART = 2316,
//!
SCI_DOCUMENTSTARTEXTEND = 2317,
//!
SCI_DOCUMENTEND = 2318,
//!
SCI_DOCUMENTENDEXTEND = 2319,
//!
SCI_PAGEUP = 2320,
//!
SCI_PAGEUPEXTEND = 2321,
//!
SCI_PAGEDOWN = 2322,
//!
SCI_PAGEDOWNEXTEND = 2323,
//!
SCI_EDITTOGGLEOVERTYPE = 2324,
//!
SCI_CANCEL = 2325,
//!
SCI_DELETEBACK = 2326,
//!
SCI_TAB = 2327,
//!
SCI_BACKTAB = 2328,
//!
SCI_NEWLINE = 2329,
//!
SCI_FORMFEED = 2330,
//!
SCI_VCHOME = 2331,
//!
SCI_VCHOMEEXTEND = 2332,
//!
SCI_ZOOMIN = 2333,
//!
SCI_ZOOMOUT = 2334,
//!
SCI_DELWORDLEFT = 2335,
//!
SCI_DELWORDRIGHT = 2336,
//!
SCI_LINECUT = 2337,
//!
SCI_LINEDELETE = 2338,
//!
SCI_LINETRANSPOSE = 2339,
//!
SCI_LOWERCASE = 2340,
//!
SCI_UPPERCASE = 2341,
//!
SCI_LINESCROLLDOWN = 2342,
//!
SCI_LINESCROLLUP = 2343,
//!
SCI_DELETEBACKNOTLINE = 2344,
//!
SCI_HOMEDISPLAY = 2345,
//!
SCI_HOMEDISPLAYEXTEND = 2346,
//!
SCI_LINEENDDISPLAY = 2347,
//!
SCI_LINEENDDISPLAYEXTEND = 2348,
//!
SCI_MOVECARETINSIDEVIEW = 2401,
//!
SCI_LINELENGTH = 2350,
//!
SCI_BRACEHIGHLIGHT = 2351,
//!
SCI_BRACEBADLIGHT = 2352,
//!
SCI_BRACEMATCH = 2353,
//!
SCI_GETVIEWEOL = 2355,
//!
SCI_SETVIEWEOL = 2356,
//!
SCI_GETDOCPOINTER = 2357,
//!
SCI_SETDOCPOINTER = 2358,
//!
SCI_SETMODEVENTMASK = 2359,
//!
SCI_GETEDGECOLUMN = 2360,
//!
SCI_SETEDGECOLUMN = 2361,
//!
SCI_GETEDGEMODE = 2362,
//!
SCI_SETEDGEMODE = 2363,
//!
SCI_GETEDGECOLOUR = 2364,
//!
SCI_SETEDGECOLOUR = 2365,
//!
SCI_SEARCHANCHOR = 2366,
//!
SCI_SEARCHNEXT = 2367,
//!
SCI_SEARCHPREV = 2368,
//!
SCI_LINESONSCREEN = 2370,
//!
SCI_USEPOPUP = 2371,
//!
SCI_SELECTIONISRECTANGLE = 2372,
//!
SCI_SETZOOM = 2373,
//!
SCI_GETZOOM = 2374,
//!
SCI_CREATEDOCUMENT = 2375,
//!
SCI_ADDREFDOCUMENT = 2376,
//!
SCI_RELEASEDOCUMENT = 2377,
//!
SCI_GETMODEVENTMASK = 2378,
//!
SCI_SETFOCUS = 2380,
//!
SCI_GETFOCUS = 2381,
//!
SCI_SETSTATUS = 2382,
//!
SCI_GETSTATUS = 2383,
//!
SCI_SETMOUSEDOWNCAPTURES = 2384,
//!
SCI_GETMOUSEDOWNCAPTURES = 2385,
//!
SCI_SETCURSOR = 2386,
//!
SCI_GETCURSOR = 2387,
//!
SCI_SETCONTROLCHARSYMBOL = 2388,
//!
SCI_GETCONTROLCHARSYMBOL = 2389,
//!
SCI_WORDPARTLEFT = 2390,
//!
SCI_WORDPARTLEFTEXTEND = 2391,
//!
SCI_WORDPARTRIGHT = 2392,
//!
SCI_WORDPARTRIGHTEXTEND = 2393,
//!
SCI_SETVISIBLEPOLICY = 2394,
//!
SCI_DELLINELEFT = 2395,
//!
SCI_DELLINERIGHT = 2396,
//!
SCI_SETXOFFSET = 2397,
//!
SCI_GETXOFFSET = 2398,
//!
SCI_CHOOSECARETX = 2399,
//!
SCI_GRABFOCUS = 2400,
//!
SCI_SETXCARETPOLICY = 2402,
//!
SCI_SETYCARETPOLICY = 2403,
//!
SCI_LINEDUPLICATE = 2404,
//! This message takes a copy of an image and registers it so that it
//! can be refered to by a unique integer identifier.
//! \a wParam is the image's identifier.
//! \a lParam is a pointer to a QPixmap instance. Note that in other
//! ports of Scintilla this is a pointer to either raw or textual XPM
//! image data.
//!
//! \sa SCI_CLEARREGISTEREDIMAGES, SCI_REGISTERRGBAIMAGE
SCI_REGISTERIMAGE = 2405,
//!
SCI_SETPRINTWRAPMODE = 2406,
//!
SCI_GETPRINTWRAPMODE = 2407,
//! This message de-registers all currently registered images.
//!
//! \sa SCI_REGISTERIMAGE, SCI_REGISTERRGBAIMAGE
SCI_CLEARREGISTEREDIMAGES = 2408,
//!
SCI_STYLESETHOTSPOT = 2409,
//!
SCI_SETHOTSPOTACTIVEFORE = 2410,
//!
SCI_SETHOTSPOTACTIVEBACK = 2411,
//!
SCI_SETHOTSPOTACTIVEUNDERLINE = 2412,
//!
SCI_PARADOWN = 2413,
//!
SCI_PARADOWNEXTEND = 2414,
//!
SCI_PARAUP = 2415,
//!
SCI_PARAUPEXTEND = 2416,
//!
SCI_POSITIONBEFORE = 2417,
//!
SCI_POSITIONAFTER = 2418,
//!
SCI_COPYRANGE = 2419,
//!
SCI_COPYTEXT = 2420,
//!
SCI_SETHOTSPOTSINGLELINE = 2421,
//!
SCI_SETSELECTIONMODE = 2422,
//!
SCI_GETSELECTIONMODE = 2423,
//!
SCI_GETLINESELSTARTPOSITION = 2424,
//!
SCI_GETLINESELENDPOSITION = 2425,
//!
SCI_LINEDOWNRECTEXTEND = 2426,
//!
SCI_LINEUPRECTEXTEND = 2427,
//!
SCI_CHARLEFTRECTEXTEND = 2428,
//!
SCI_CHARRIGHTRECTEXTEND = 2429,
//!
SCI_HOMERECTEXTEND = 2430,
//!
SCI_VCHOMERECTEXTEND = 2431,
//!
SCI_LINEENDRECTEXTEND = 2432,
//!
SCI_PAGEUPRECTEXTEND = 2433,
//!
SCI_PAGEDOWNRECTEXTEND = 2434,
//!
SCI_STUTTEREDPAGEUP = 2435,
//!
SCI_STUTTEREDPAGEUPEXTEND = 2436,
//!
SCI_STUTTEREDPAGEDOWN = 2437,
//!
SCI_STUTTEREDPAGEDOWNEXTEND = 2438,
//!
SCI_WORDLEFTEND = 2439,
//!
SCI_WORDLEFTENDEXTEND = 2440,
//!
SCI_WORDRIGHTEND = 2441,
//!
SCI_WORDRIGHTENDEXTEND = 2442,
//!
SCI_SETWHITESPACECHARS = 2443,
//!
SCI_SETCHARSDEFAULT = 2444,
//!
SCI_AUTOCGETCURRENT = 2445,
//!
SCI_ALLOCATE = 2446,
//!
SCI_HOMEWRAP = 2349,
//!
SCI_HOMEWRAPEXTEND = 2450,
//!
SCI_LINEENDWRAP = 2451,
//!
SCI_LINEENDWRAPEXTEND = 2452,
//!
SCI_VCHOMEWRAP = 2453,
//!
SCI_VCHOMEWRAPEXTEND = 2454,
//!
SCI_LINECOPY = 2455,
//!
SCI_FINDCOLUMN = 2456,
//!
SCI_GETCARETSTICKY = 2457,
//!
SCI_SETCARETSTICKY = 2458,
//!
SCI_TOGGLECARETSTICKY = 2459,
//!
SCI_SETWRAPVISUALFLAGS = 2460,
//!
SCI_GETWRAPVISUALFLAGS = 2461,
//!
SCI_SETWRAPVISUALFLAGSLOCATION = 2462,
//!
SCI_GETWRAPVISUALFLAGSLOCATION = 2463,
//!
SCI_SETWRAPSTARTINDENT = 2464,
//!
SCI_GETWRAPSTARTINDENT = 2465,
//!
SCI_MARKERADDSET = 2466,
//!
SCI_SETPASTECONVERTENDINGS = 2467,
//!
SCI_GETPASTECONVERTENDINGS = 2468,
//!
SCI_SELECTIONDUPLICATE = 2469,
//!
SCI_SETCARETLINEBACKALPHA = 2470,
//!
SCI_GETCARETLINEBACKALPHA = 2471,
//!
SCI_SETWRAPINDENTMODE = 2472,
//!
SCI_GETWRAPINDENTMODE = 2473,
//!
SCI_MARKERSETALPHA = 2476,
//!
SCI_GETSELALPHA = 2477,
//!
SCI_SETSELALPHA = 2478,
//!
SCI_GETSELEOLFILLED = 2479,
//!
SCI_SETSELEOLFILLED = 2480,
//!
SCI_STYLEGETFORE = 2481,
//!
SCI_STYLEGETBACK = 2482,
//!
SCI_STYLEGETBOLD = 2483,
//!
SCI_STYLEGETITALIC = 2484,
//!
SCI_STYLEGETSIZE = 2485,
//!
SCI_STYLEGETFONT = 2486,
//!
SCI_STYLEGETEOLFILLED = 2487,
//!
SCI_STYLEGETUNDERLINE = 2488,
//!
SCI_STYLEGETCASE = 2489,
//!
SCI_STYLEGETCHARACTERSET = 2490,
//!
SCI_STYLEGETVISIBLE = 2491,
//!
SCI_STYLEGETCHANGEABLE = 2492,
//!
SCI_STYLEGETHOTSPOT = 2493,
//!
SCI_GETHOTSPOTACTIVEFORE = 2494,
//!
SCI_GETHOTSPOTACTIVEBACK = 2495,
//!
SCI_GETHOTSPOTACTIVEUNDERLINE = 2496,
//!
SCI_GETHOTSPOTSINGLELINE = 2497,
//!
SCI_BRACEHIGHLIGHTINDICATOR = 2498,
//!
SCI_BRACEBADLIGHTINDICATOR = 2499,
//!
SCI_SETINDICATORCURRENT = 2500,
//!
SCI_GETINDICATORCURRENT = 2501,
//!
SCI_SETINDICATORVALUE = 2502,
//!
SCI_GETINDICATORVALUE = 2503,
//!
SCI_INDICATORFILLRANGE = 2504,
//!
SCI_INDICATORCLEARRANGE = 2505,
//!
SCI_INDICATORALLONFOR = 2506,
//!
SCI_INDICATORVALUEAT = 2507,
//!
SCI_INDICATORSTART = 2508,
//!
SCI_INDICATOREND = 2509,
//!
SCI_INDICSETUNDER = 2510,
//!
SCI_INDICGETUNDER = 2511,
//!
SCI_SETCARETSTYLE = 2512,
//!
SCI_GETCARETSTYLE = 2513,
//!
SCI_SETPOSITIONCACHE = 2514,
//!
SCI_GETPOSITIONCACHE = 2515,
//!
SCI_SETSCROLLWIDTHTRACKING = 2516,
//!
SCI_GETSCROLLWIDTHTRACKING = 2517,
//!
SCI_DELWORDRIGHTEND = 2518,
//! This message copies the selection. If the selection is empty then
//! copy the line with the caret.
SCI_COPYALLOWLINE = 2519,
//! This message returns a pointer to the document text. Any
//! subsequent message will invalidate the pointer.
SCI_GETCHARACTERPOINTER = 2520,
//!
SCI_SETKEYSUNICODE = 2521,
//!
SCI_GETKEYSUNICODE = 2522,
//!
SCI_INDICSETALPHA = 2523,
//!
SCI_INDICGETALPHA = 2524,
//!
SCI_SETEXTRAASCENT = 2525,
//!
SCI_GETEXTRAASCENT = 2526,
//!
SCI_SETEXTRADESCENT = 2527,
//!
SCI_GETEXTRADESCENT = 2528,
//!
SCI_MARKERSYMBOLDEFINED = 2529,
//!
SCI_MARGINSETTEXT = 2530,
//!
SCI_MARGINGETTEXT = 2531,
//!
SCI_MARGINSETSTYLE = 2532,
//!
SCI_MARGINGETSTYLE = 2533,
//!
SCI_MARGINSETSTYLES = 2534,
//!
SCI_MARGINGETSTYLES = 2535,
//!
SCI_MARGINTEXTCLEARALL = 2536,
//!
SCI_MARGINSETSTYLEOFFSET = 2537,
//!
SCI_MARGINGETSTYLEOFFSET = 2538,
//!
SCI_SETMARGINOPTIONS = 2539,
//!
SCI_ANNOTATIONSETTEXT = 2540,
//!
SCI_ANNOTATIONGETTEXT = 2541,
//!
SCI_ANNOTATIONSETSTYLE = 2542,
//!
SCI_ANNOTATIONGETSTYLE = 2543,
//!
SCI_ANNOTATIONSETSTYLES = 2544,
//!
SCI_ANNOTATIONGETSTYLES = 2545,
//!
SCI_ANNOTATIONGETLINES = 2546,
//!
SCI_ANNOTATIONCLEARALL = 2547,
//!
SCI_ANNOTATIONSETVISIBLE = 2548,
//!
SCI_ANNOTATIONGETVISIBLE = 2549,
//!
SCI_ANNOTATIONSETSTYLEOFFSET = 2550,
//!
SCI_ANNOTATIONGETSTYLEOFFSET = 2551,
//!
SCI_RELEASEALLEXTENDEDSTYLES = 2552,
//!
SCI_ALLOCATEEXTENDEDSTYLES = 2553,
//!
SCI_SETEMPTYSELECTION = 2556,
//!
SCI_GETMARGINOPTIONS = 2557,
//!
SCI_INDICSETOUTLINEALPHA = 2558,
//!
SCI_INDICGETOUTLINEALPHA = 2559,
//!
SCI_ADDUNDOACTION = 2560,
//!
SCI_CHARPOSITIONFROMPOINT = 2561,
//!
SCI_CHARPOSITIONFROMPOINTCLOSE = 2562,
//!
SCI_SETMULTIPLESELECTION = 2563,
//!
SCI_GETMULTIPLESELECTION = 2564,
//!
SCI_SETADDITIONALSELECTIONTYPING = 2565,
//!
SCI_GETADDITIONALSELECTIONTYPING = 2566,
//!
SCI_SETADDITIONALCARETSBLINK = 2567,
//!
SCI_GETADDITIONALCARETSBLINK = 2568,
//!
SCI_SCROLLRANGE = 2569,
//!
SCI_GETSELECTIONS = 2570,
//!
SCI_CLEARSELECTIONS = 2571,
//!
SCI_SETSELECTION = 2572,
//!
SCI_ADDSELECTION = 2573,
//!
SCI_SETMAINSELECTION = 2574,
//!
SCI_GETMAINSELECTION = 2575,
//!
SCI_SETSELECTIONNCARET = 2576,
//!
SCI_GETSELECTIONNCARET = 2577,
//!
SCI_SETSELECTIONNANCHOR = 2578,
//!
SCI_GETSELECTIONNANCHOR = 2579,
//!
SCI_SETSELECTIONNCARETVIRTUALSPACE = 2580,
//!
SCI_GETSELECTIONNCARETVIRTUALSPACE = 2581,
//!
SCI_SETSELECTIONNANCHORVIRTUALSPACE = 2582,
//!
SCI_GETSELECTIONNANCHORVIRTUALSPACE = 2583,
//!
SCI_SETSELECTIONNSTART = 2584,
//!
SCI_GETSELECTIONNSTART = 2585,
//!
SCI_SETSELECTIONNEND = 2586,
//!
SCI_GETSELECTIONNEND = 2587,
//!
SCI_SETRECTANGULARSELECTIONCARET = 2588,
//!
SCI_GETRECTANGULARSELECTIONCARET = 2589,
//!
SCI_SETRECTANGULARSELECTIONANCHOR = 2590,
//!
SCI_GETRECTANGULARSELECTIONANCHOR = 2591,
//!
SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2592,
//!
SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2593,
//!
SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2594,
//!
SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2595,
//!
SCI_SETVIRTUALSPACEOPTIONS = 2596,
//!
SCI_GETVIRTUALSPACEOPTIONS = 2597,
//!
SCI_SETRECTANGULARSELECTIONMODIFIER = 2598,
//!
SCI_GETRECTANGULARSELECTIONMODIFIER = 2599,
//!
SCI_SETADDITIONALSELFORE = 2600,
//!
SCI_SETADDITIONALSELBACK = 2601,
//!
SCI_SETADDITIONALSELALPHA = 2602,
//!
SCI_GETADDITIONALSELALPHA = 2603,
//!
SCI_SETADDITIONALCARETFORE = 2604,
//!
SCI_GETADDITIONALCARETFORE = 2605,
//!
SCI_ROTATESELECTION = 2606,
//!
SCI_SWAPMAINANCHORCARET = 2607,
//!
SCI_SETADDITIONALCARETSVISIBLE = 2608,
//!
SCI_GETADDITIONALCARETSVISIBLE = 2609,
//!
SCI_AUTOCGETCURRENTTEXT = 2610,
//!
SCI_SETFONTQUALITY = 2611,
//!
SCI_GETFONTQUALITY = 2612,
//!
SCI_SETFIRSTVISIBLELINE = 2613,
//!
SCI_SETMULTIPASTE = 2614,
//!
SCI_GETMULTIPASTE = 2615,
//!
SCI_GETTAG = 2616,
//!
SCI_CHANGELEXERSTATE = 2617,
//!
SCI_CONTRACTEDFOLDNEXT = 2618,
//!
SCI_VERTICALCENTRECARET = 2619,
//!
SCI_MOVESELECTEDLINESUP = 2620,
//!
SCI_MOVESELECTEDLINESDOWN = 2621,
//!
SCI_SETIDENTIFIER = 2622,
//!
SCI_GETIDENTIFIER = 2623,
//! This message sets the width of an RGBA image specified by a future
//! call to SCI_MARKERDEFINERGBAIMAGE or SCI_REGISTERRGBAIMAGE.
//!
//! \sa SCI_RGBAIMAGESETHEIGHT, SCI_MARKERDEFINERGBAIMAGE,
//! SCI_REGISTERRGBAIMAGE.
SCI_RGBAIMAGESETWIDTH = 2624,
//! This message sets the height of an RGBA image specified by a future
//! call to SCI_MARKERDEFINERGBAIMAGE or SCI_REGISTERRGBAIMAGE.
//!
//! \sa SCI_RGBAIMAGESETWIDTH, SCI_MARKERDEFINERGBAIMAGE,
//! SCI_REGISTERRGBAIMAGE.
SCI_RGBAIMAGESETHEIGHT = 2625,
//! This message sets the symbol used to draw one of the 32 markers to
//! an RGBA image. RGBA images use the SC_MARK_RGBAIMAGE marker
//! symbol.
//! \a wParam is the number of the marker.
//! \a lParam is a pointer to a QImage instance. Note that in other
//! ports of Scintilla this is a pointer to raw RGBA image data.
//!
//! \sa SCI_MARKERDEFINE, SCI_MARKERDEFINEPIXMAP
SCI_MARKERDEFINERGBAIMAGE = 2626,
//! This message takes a copy of an image and registers it so that it
//! can be refered to by a unique integer identifier.
//! \a wParam is the image's identifier.
//! \a lParam is a pointer to a QImage instance. Note that in other
//! ports of Scintilla this is a pointer to raw RGBA image data.
//!
//! \sa SCI_CLEARREGISTEREDIMAGES, SCI_REGISTERIMAGE
SCI_REGISTERRGBAIMAGE = 2627,
//!
SCI_SCROLLTOSTART = 2628,
//!
SCI_SCROLLTOEND = 2629,
//!
SCI_SETTECHNOLOGY = 2630,
//!
SCI_GETTECHNOLOGY = 2631,
//!
SCI_CREATELOADER = 2632,
//!
SCI_COUNTCHARACTERS = 2633,
//!
SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR = 2634,
//!
SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR = 2635,
//!
SCI_AUTOCSETMULTI = 2636,
//!
SCI_AUTOCGETMULTI = 2637,
//!
SCI_FINDINDICATORSHOW = 2640,
//!
SCI_FINDINDICATORFLASH = 2641,
//!
SCI_FINDINDICATORHIDE = 2642,
//!
SCI_GETRANGEPOINTER = 2643,
//!
SCI_GETGAPPOSITION = 2644,
//!
SCI_DELETERANGE = 2645,
//!
SCI_GETWORDCHARS = 2646,
//!
SCI_GETWHITESPACECHARS = 2647,
//!
SCI_SETPUNCTUATIONCHARS = 2648,
//!
SCI_GETPUNCTUATIONCHARS = 2649,
//!
SCI_GETSELECTIONEMPTY = 2650,
//!
SCI_RGBAIMAGESETSCALE = 2651,
//!
SCI_VCHOMEDISPLAY = 2652,
//!
SCI_VCHOMEDISPLAYEXTEND = 2653,
//!
SCI_GETCARETLINEVISIBLEALWAYS = 2654,
//!
SCI_SETCARETLINEVISIBLEALWAYS = 2655,
//!
SCI_SETLINEENDTYPESALLOWED = 2656,
//!
SCI_GETLINEENDTYPESALLOWED = 2657,
//!
SCI_GETLINEENDTYPESACTIVE = 2658,
//!
SCI_AUTOCSETORDER = 2660,
//!
SCI_AUTOCGETORDER = 2661,
//!
SCI_FOLDALL = 2662,
//!
SCI_SETAUTOMATICFOLD = 2663,
//!
SCI_GETAUTOMATICFOLD = 2664,
//!
SCI_SETREPRESENTATION = 2665,
//!
SCI_GETREPRESENTATION = 2666,
//!
SCI_CLEARREPRESENTATION = 2667,
//!
SCI_SETMOUSESELECTIONRECTANGULARSWITCH = 2668,
//!
SCI_GETMOUSESELECTIONRECTANGULARSWITCH = 2669,
//!
SCI_POSITIONRELATIVE = 2670,
//!
SCI_DROPSELECTIONN = 2671,
//!
SCI_CHANGEINSERTION = 2672,
//!
SCI_GETPHASESDRAW = 2673,
//!
SCI_SETPHASESDRAW = 2674,
//!
SCI_CLEARTABSTOPS = 2675,
//!
SCI_ADDTABSTOP = 2676,
//!
SCI_GETNEXTTABSTOP = 2677,
//!
SCI_GETIMEINTERACTION = 2678,
//!
SCI_SETIMEINTERACTION = 2679,
//!
SCI_INDICSETHOVERSTYLE = 2680,
//!
SCI_INDICGETHOVERSTYLE = 2681,
//!
SCI_INDICSETHOVERFORE = 2682,
//!
SCI_INDICGETHOVERFORE = 2683,
//!
SCI_INDICSETFLAGS = 2684,
//!
SCI_INDICGETFLAGS = 2685,
//!
SCI_SETTARGETRANGE = 2686,
//!
SCI_GETTARGETRANGE = 2687,
//!
SCI_STARTRECORD = 3001,
//!
SCI_STOPRECORD = 3002,
//! This message sets the number of the lexer to use for syntax
//! styling.
//! \a wParam is the number of the lexer and is one of the SCLEX_*
//! values.
SCI_SETLEXER = 4001,
//! This message returns the number of the lexer being used for syntax
//! styling.
SCI_GETLEXER = 4002,
//!
SCI_COLOURISE = 4003,
//!
SCI_SETPROPERTY = 4004,
//!
SCI_SETKEYWORDS = 4005,
//! This message sets the name of the lexer to use for syntax styling.
//! \a wParam is unused.
//! \a lParam is the name of the lexer.
SCI_SETLEXERLANGUAGE = 4006,
//!
SCI_LOADLEXERLIBRARY = 4007,
//!
SCI_GETPROPERTY = 4008,
//!
SCI_GETPROPERTYEXPANDED = 4009,
//!
SCI_GETPROPERTYINT = 4010,
//!
SCI_GETSTYLEBITSNEEDED = 4011,
//!
SCI_GETLEXERLANGUAGE = 4012,
//!
SCI_PRIVATELEXERCALL = 4013,
//!
SCI_PROPERTYNAMES = 4014,
//!
SCI_PROPERTYTYPE = 4015,
//!
SCI_DESCRIBEPROPERTY = 4016,
//!
SCI_DESCRIBEKEYWORDSETS = 4017,
//!
SCI_GETLINEENDTYPESSUPPORTED = 4018,
//!
SCI_ALLOCATESUBSTYLES = 4020,
//!
SCI_GETSUBSTYLESSTART = 4021,
//!
SCI_GETSUBSTYLESLENGTH = 4022,
//!
SCI_GETSTYLEFROMSUBSTYLE = 4027,
//!
SCI_GETPRIMARYSTYLEFROMSTYLE = 4028,
//!
SCI_FREESUBSTYLES = 4023,
//!
SCI_SETIDENTIFIERS = 4024,
//!
SCI_DISTANCETOSECONDARYSTYLES = 4025,
//!
SCI_GETSUBSTYLEBASES = 4026,
};
enum
{
SC_ALPHA_TRANSPARENT = 0,
SC_ALPHA_OPAQUE = 255,
SC_ALPHA_NOALPHA = 256
};
enum
{
SC_CARETSTICKY_OFF = 0,
SC_CARETSTICKY_ON = 1,
SC_CARETSTICKY_WHITESPACE = 2
};
enum
{
SC_EFF_QUALITY_MASK = 0x0f,
SC_EFF_QUALITY_DEFAULT = 0,
SC_EFF_QUALITY_NON_ANTIALIASED = 1,
SC_EFF_QUALITY_ANTIALIASED = 2,
SC_EFF_QUALITY_LCD_OPTIMIZED = 3
};
enum
{
SC_IME_WINDOWED = 0,
SC_IME_INLINE = 1,
};
enum
{
SC_MARGINOPTION_NONE = 0x00,
SC_MARGINOPTION_SUBLINESELECT = 0x01
};
enum
{
SC_MULTIAUTOC_ONCE = 0,
SC_MULTIAUTOC_EACH = 1
};
enum
{
SC_MULTIPASTE_ONCE = 0,
SC_MULTIPASTE_EACH = 1
};
//! This enum defines the different selection modes.
//!
//! \sa SCI_GETSELECTIONMODE, SCI_SETSELECTIONMODE
enum
{
SC_SEL_STREAM = 0,
SC_SEL_RECTANGLE = 1,
SC_SEL_LINES = 2,
SC_SEL_THIN = 3
};
enum
{
SC_STATUS_OK = 0,
SC_STATUS_FAILURE = 1,
SC_STATUS_BADALLOC = 2,
SC_STATUS_WARN_START = 1000,
SC_STATUS_WARNREGEX = 1001,
};
enum
{
SC_TYPE_BOOLEAN = 0,
SC_TYPE_INTEGER = 1,
SC_TYPE_STRING = 2
};
enum
{
SC_UPDATE_CONTENT = 0x01,
SC_UPDATE_SELECTION = 0x02,
SC_UPDATE_V_SCROLL = 0x04,
SC_UPDATE_H_SCROLL = 0x08
};
enum
{
SC_WRAPVISUALFLAG_NONE = 0x0000,
SC_WRAPVISUALFLAG_END = 0x0001,
SC_WRAPVISUALFLAG_START = 0x0002,
SC_WRAPVISUALFLAG_MARGIN = 0x0004
};
enum
{
SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000,
SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001,
SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002
};
enum
{
SCVS_NONE = 0,
SCVS_RECTANGULARSELECTION = 1,
SCVS_USERACCESSIBLE = 2
};
enum
{
SCWS_INVISIBLE = 0,
SCWS_VISIBLEALWAYS = 1,
SCWS_VISIBLEAFTERINDENT = 2
};
enum
{
SC_EOL_CRLF = 0,
SC_EOL_CR = 1,
SC_EOL_LF = 2
};
enum
{
SC_CP_DBCS = 1,
SC_CP_UTF8 = 65001
};
//! This enum defines the different marker symbols.
//!
//! \sa SCI_MARKERDEFINE
enum
{
//! A circle.
SC_MARK_CIRCLE = 0,
//! A rectangle.
SC_MARK_ROUNDRECT = 1,
//! A triangle pointing to the right.
SC_MARK_ARROW = 2,
//! A smaller rectangle.
SC_MARK_SMALLRECT = 3,
//! An arrow pointing to the right.
SC_MARK_SHORTARROW = 4,
//! An invisible marker that allows code to track the movement
//! of lines.
SC_MARK_EMPTY = 5,
//! A triangle pointing down.
SC_MARK_ARROWDOWN = 6,
//! A drawn minus sign.
SC_MARK_MINUS = 7,
//! A drawn plus sign.
SC_MARK_PLUS = 8,
//! A vertical line drawn in the background colour.
SC_MARK_VLINE = 9,
//! A bottom left corner drawn in the background colour.
SC_MARK_LCORNER = 10,
//! A vertical line with a centre right horizontal line drawn
//! in the background colour.
SC_MARK_TCORNER = 11,
//! A drawn plus sign in a box.
SC_MARK_BOXPLUS = 12,
//! A drawn plus sign in a connected box.
SC_MARK_BOXPLUSCONNECTED = 13,
//! A drawn minus sign in a box.
SC_MARK_BOXMINUS = 14,
//! A drawn minus sign in a connected box.
SC_MARK_BOXMINUSCONNECTED = 15,
//! A rounded bottom left corner drawn in the background
//! colour.
SC_MARK_LCORNERCURVE = 16,
//! A vertical line with a centre right curved line drawn in
//! the background colour.
SC_MARK_TCORNERCURVE = 17,
//! A drawn plus sign in a circle.
SC_MARK_CIRCLEPLUS = 18,
//! A drawn plus sign in a connected box.
SC_MARK_CIRCLEPLUSCONNECTED = 19,
//! A drawn minus sign in a circle.
SC_MARK_CIRCLEMINUS = 20,
//! A drawn minus sign in a connected circle.
SC_MARK_CIRCLEMINUSCONNECTED = 21,
//! No symbol is drawn but the line is drawn with the same background
//! color as the marker's.
SC_MARK_BACKGROUND = 22,
//! Three drawn dots.
SC_MARK_DOTDOTDOT = 23,
//! Three drawn arrows pointing right.
SC_MARK_ARROWS = 24,
//! An XPM format pixmap.
SC_MARK_PIXMAP = 25,
//! A full rectangle (ie. the margin background) using the marker's
//! background color.
SC_MARK_FULLRECT = 26,
//! A left rectangle (ie. the left part of the margin background) using
//! the marker's background color.
SC_MARK_LEFTRECT = 27,
//! The value is available for plugins to use.
SC_MARK_AVAILABLE = 28,
//! The line is underlined using the marker's background color.
SC_MARK_UNDERLINE = 29,
//! A RGBA format image.
SC_MARK_RGBAIMAGE = 30,
//! A bookmark.
SC_MARK_BOOKMARK = 31,
//! Characters can be used as symbols by adding this to the ASCII value
//! of the character.
SC_MARK_CHARACTER = 10000
};
enum
{
SC_MARKNUM_FOLDEREND = 25,
SC_MARKNUM_FOLDEROPENMID = 26,
SC_MARKNUM_FOLDERMIDTAIL = 27,
SC_MARKNUM_FOLDERTAIL = 28,
SC_MARKNUM_FOLDERSUB = 29,
SC_MARKNUM_FOLDER = 30,
SC_MARKNUM_FOLDEROPEN = 31,
SC_MASK_FOLDERS = 0xfe000000
};
//! This enum defines what can be displayed in a margin.
//!
//! \sa SCI_GETMARGINTYPEN, SCI_SETMARGINTYPEN
enum
{
//! The margin can display symbols. Note that all margins can display
//! symbols.
SC_MARGIN_SYMBOL = 0,
//! The margin will display line numbers.
SC_MARGIN_NUMBER = 1,
//! The margin's background color will be set to the default background
//! color.
SC_MARGIN_BACK = 2,
//! The margin's background color will be set to the default foreground
//! color.
SC_MARGIN_FORE = 3,
//! The margin will display text.
SC_MARGIN_TEXT = 4,
//! The margin will display right justified text.
SC_MARGIN_RTEXT = 5
};
enum
{
STYLE_DEFAULT = 32,
STYLE_LINENUMBER = 33,
STYLE_BRACELIGHT = 34,
STYLE_BRACEBAD = 35,
STYLE_CONTROLCHAR = 36,
STYLE_INDENTGUIDE = 37,
STYLE_CALLTIP = 38,
STYLE_LASTPREDEFINED = 39,
STYLE_MAX = 255
};
enum
{
SC_CHARSET_ANSI = 0,
SC_CHARSET_DEFAULT = 1,
SC_CHARSET_BALTIC = 186,
SC_CHARSET_CHINESEBIG5 = 136,
SC_CHARSET_EASTEUROPE = 238,
SC_CHARSET_GB2312 = 134,
SC_CHARSET_GREEK = 161,
SC_CHARSET_HANGUL = 129,
SC_CHARSET_MAC = 77,
SC_CHARSET_OEM = 255,
SC_CHARSET_RUSSIAN = 204,
SC_CHARSET_SHIFTJIS = 128,
SC_CHARSET_SYMBOL = 2,
SC_CHARSET_TURKISH = 162,
SC_CHARSET_JOHAB = 130,
SC_CHARSET_HEBREW = 177,
SC_CHARSET_ARABIC = 178,
SC_CHARSET_VIETNAMESE = 163,
SC_CHARSET_THAI = 222,
SC_CHARSET_8859_15 = 1000
};
enum
{
SC_CASE_MIXED = 0,
SC_CASE_UPPER = 1,
SC_CASE_LOWER = 2
};
//! This enum defines the different indentation guide views.
//!
//! \sa SCI_GETINDENTATIONGUIDES, SCI_SETINDENTATIONGUIDES
enum
{
//! No indentation guides are shown.
SC_IV_NONE = 0,
//! Indentation guides are shown inside real indentation white space.
SC_IV_REAL = 1,
//! Indentation guides are shown beyond the actual indentation up to
//! the level of the next non-empty line. If the previous non-empty
//! line was a fold header then indentation guides are shown for one
//! more level of indent than that line. This setting is good for
//! Python.
SC_IV_LOOKFORWARD = 2,
//! Indentation guides are shown beyond the actual indentation up to
//! the level of the next non-empty line or previous non-empty line
//! whichever is the greater. This setting is good for most languages.
SC_IV_LOOKBOTH = 3
};
enum
{
INDIC_PLAIN = 0,
INDIC_SQUIGGLE = 1,
INDIC_TT = 2,
INDIC_DIAGONAL = 3,
INDIC_STRIKE = 4,
INDIC_HIDDEN = 5,
INDIC_BOX = 6,
INDIC_ROUNDBOX = 7,
INDIC_STRAIGHTBOX = 8,
INDIC_DASH = 9,
INDIC_DOTS = 10,
INDIC_SQUIGGLELOW = 11,
INDIC_DOTBOX = 12,
INDIC_SQUIGGLEPIXMAP = 13,
INDIC_COMPOSITIONTHICK = 14,
INDIC_COMPOSITIONTHIN = 15,
INDIC_FULLBOX = 16,
INDIC_TEXTFORE = 17,
INDIC_IME = 32,
INDIC_IME_MAX = 35,
INDIC_CONTAINER = 8,
INDIC_MAX = 35,
INDIC0_MASK = 0x20,
INDIC1_MASK = 0x40,
INDIC2_MASK = 0x80,
INDICS_MASK = 0xe0,
SC_INDICVALUEBIT = 0x01000000,
SC_INDICVALUEMASK = 0x00ffffff,
SC_INDICFLAG_VALUEBEFORE = 1,
};
enum
{
SC_PRINT_NORMAL = 0,
SC_PRINT_INVERTLIGHT = 1,
SC_PRINT_BLACKONWHITE = 2,
SC_PRINT_COLOURONWHITE = 3,
SC_PRINT_COLOURONWHITEDEFAULTBG = 4
};
enum
{
SCFIND_WHOLEWORD = 2,
SCFIND_MATCHCASE = 4,
SCFIND_WORDSTART = 0x00100000,
SCFIND_REGEXP = 0x00200000,
SCFIND_POSIX = 0x00400000,
SCFIND_CXX11REGEX = 0x00800000,
};
enum
{
SC_FOLDLEVELBASE = 0x00400,
SC_FOLDLEVELWHITEFLAG = 0x01000,
SC_FOLDLEVELHEADERFLAG = 0x02000,
SC_FOLDLEVELNUMBERMASK = 0x00fff
};
enum
{
SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002,
SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004,
SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008,
SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010,
SC_FOLDFLAG_LEVELNUMBERS = 0x0040,
SC_FOLDFLAG_LINESTATE = 0x0080,
};
enum
{
SC_LINE_END_TYPE_DEFAULT = 0,
SC_LINE_END_TYPE_UNICODE = 1,
};
enum
{
SC_TIME_FOREVER = 10000000
};
enum
{
SC_WRAP_NONE = 0,
SC_WRAP_WORD = 1,
SC_WRAP_CHAR = 2,
SC_WRAP_WHITESPACE = 3,
};
enum
{
SC_WRAPINDENT_FIXED = 0,
SC_WRAPINDENT_SAME = 1,
SC_WRAPINDENT_INDENT = 2
};
enum
{
SC_CACHE_NONE = 0,
SC_CACHE_CARET = 1,
SC_CACHE_PAGE = 2,
SC_CACHE_DOCUMENT = 3
};
enum
{
SC_PHASES_ONE = 0,
SC_PHASES_TWO = 1,
SC_PHASES_MULTIPLE = 2,
};
enum
{
ANNOTATION_HIDDEN = 0,
ANNOTATION_STANDARD = 1,
ANNOTATION_BOXED = 2,
ANNOTATION_INDENTED = 3,
};
enum
{
EDGE_NONE = 0,
EDGE_LINE = 1,
EDGE_BACKGROUND = 2
};
enum
{
SC_CURSORNORMAL = -1,
SC_CURSORARROW = 2,
SC_CURSORWAIT = 4,
SC_CURSORREVERSEARROW = 7
};
enum
{
UNDO_MAY_COALESCE = 1
};
enum
{
VISIBLE_SLOP = 0x01,
VISIBLE_STRICT = 0x04
};
enum
{
CARET_SLOP = 0x01,
CARET_STRICT = 0x04,
CARET_JUMPS = 0x10,
CARET_EVEN = 0x08
};
enum
{
CARETSTYLE_INVISIBLE = 0,
CARETSTYLE_LINE = 1,
CARETSTYLE_BLOCK = 2
};
enum
{
SC_MOD_INSERTTEXT = 0x1,
SC_MOD_DELETETEXT = 0x2,
SC_MOD_CHANGESTYLE = 0x4,
SC_MOD_CHANGEFOLD = 0x8,
SC_PERFORMED_USER = 0x10,
SC_PERFORMED_UNDO = 0x20,
SC_PERFORMED_REDO = 0x40,
SC_MULTISTEPUNDOREDO = 0x80,
SC_LASTSTEPINUNDOREDO = 0x100,
SC_MOD_CHANGEMARKER = 0x200,
SC_MOD_BEFOREINSERT = 0x400,
SC_MOD_BEFOREDELETE = 0x800,
SC_MULTILINEUNDOREDO = 0x1000,
SC_STARTACTION = 0x2000,
SC_MOD_CHANGEINDICATOR = 0x4000,
SC_MOD_CHANGELINESTATE = 0x8000,
SC_MOD_CHANGEMARGIN = 0x10000,
SC_MOD_CHANGEANNOTATION = 0x20000,
SC_MOD_CONTAINER = 0x40000,
SC_MOD_LEXERSTATE = 0x80000,
SC_MOD_INSERTCHECK = 0x100000,
SC_MOD_CHANGETABSTOPS = 0x200000,
SC_MODEVENTMASKALL = 0x3fffff
};
enum
{
SCK_DOWN = 300,
SCK_UP = 301,
SCK_LEFT = 302,
SCK_RIGHT = 303,
SCK_HOME = 304,
SCK_END = 305,
SCK_PRIOR = 306,
SCK_NEXT = 307,
SCK_DELETE = 308,
SCK_INSERT = 309,
SCK_ESCAPE = 7,
SCK_BACK = 8,
SCK_TAB = 9,
SCK_RETURN = 13,
SCK_ADD = 310,
SCK_SUBTRACT = 311,
SCK_DIVIDE = 312,
SCK_WIN = 313,
SCK_RWIN = 314,
SCK_MENU = 315
};
//! This enum defines the different modifier keys.
enum
{
//! No modifier key.
SCMOD_NORM = 0,
//! Shift key.
SCMOD_SHIFT = 1,
//! Control key (the Command key on OS/X, the Ctrl key on other
//! platforms).
SCMOD_CTRL = 2,
//! Alt key.
SCMOD_ALT = 4,
//! This is the same as SCMOD_META on all platforms.
SCMOD_SUPER = 8,
//! Meta key (the Ctrl key on OS/X, the Windows key on other
//! platforms).
SCMOD_META = 16
};
//! This enum defines the different language lexers.
//!
//! \sa SCI_GETLEXER, SCI_SETLEXER
enum
{
//! No lexer is selected and the SCN_STYLENEEDED signal is emitted so
//! that the application can style the text as needed. This is the
//! default.
SCLEX_CONTAINER = 0,
//! Select the null lexer that does no syntax styling.
SCLEX_NULL = 1,
//! Select the Python lexer.
SCLEX_PYTHON = 2,
//! Select the C++ lexer.
SCLEX_CPP = 3,
//! Select the HTML lexer.
SCLEX_HTML = 4,
//! Select the XML lexer.
SCLEX_XML = 5,
//! Select the Perl lexer.
SCLEX_PERL = 6,
//! Select the SQL lexer.
SCLEX_SQL = 7,
//! Select the Visual Basic lexer.
SCLEX_VB = 8,
//! Select the lexer for properties style files.
SCLEX_PROPERTIES = 9,
//! Select the lexer for error list style files.
SCLEX_ERRORLIST = 10,
//! Select the Makefile lexer.
SCLEX_MAKEFILE = 11,
//! Select the Windows batch file lexer.
SCLEX_BATCH = 12,
//! Select the LaTex lexer.
SCLEX_LATEX = 14,
//! Select the Lua lexer.
SCLEX_LUA = 15,
//! Select the lexer for diff output.
SCLEX_DIFF = 16,
//! Select the lexer for Apache configuration files.
SCLEX_CONF = 17,
//! Select the Pascal lexer.
SCLEX_PASCAL = 18,
//! Select the Avenue lexer.
SCLEX_AVE = 19,
//! Select the Ada lexer.
SCLEX_ADA = 20,
//! Select the Lisp lexer.
SCLEX_LISP = 21,
//! Select the Ruby lexer.
SCLEX_RUBY = 22,
//! Select the Eiffel lexer.
SCLEX_EIFFEL = 23,
//! Select the Eiffel lexer folding at keywords.
SCLEX_EIFFELKW = 24,
//! Select the Tcl lexer.
SCLEX_TCL = 25,
//! Select the lexer for nnCron files.
SCLEX_NNCRONTAB = 26,
//! Select the Bullant lexer.
SCLEX_BULLANT = 27,
//! Select the VBScript lexer.
SCLEX_VBSCRIPT = 28,
//! Select the ASP lexer.
SCLEX_ASP = SCLEX_HTML,
//! Select the PHP lexer.
SCLEX_PHP = SCLEX_HTML,
//! Select the Baan lexer.
SCLEX_BAAN = 31,
//! Select the Matlab lexer.
SCLEX_MATLAB = 32,
//! Select the Scriptol lexer.
SCLEX_SCRIPTOL = 33,
//! Select the assembler lexer (';' comment character).
SCLEX_ASM = 34,
//! Select the C++ lexer with case insensitive keywords.
SCLEX_CPPNOCASE = 35,
//! Select the FORTRAN lexer.
SCLEX_FORTRAN = 36,
//! Select the FORTRAN77 lexer.
SCLEX_F77 = 37,
//! Select the CSS lexer.
SCLEX_CSS = 38,
//! Select the POV lexer.
SCLEX_POV = 39,
//! Select the Basser Lout typesetting language lexer.
SCLEX_LOUT = 40,
//! Select the EScript lexer.
SCLEX_ESCRIPT = 41,
//! Select the PostScript lexer.
SCLEX_PS = 42,
//! Select the NSIS lexer.
SCLEX_NSIS = 43,
//! Select the MMIX assembly language lexer.
SCLEX_MMIXAL = 44,
//! Select the Clarion lexer.
SCLEX_CLW = 45,
//! Select the Clarion lexer with case insensitive keywords.
SCLEX_CLWNOCASE = 46,
//! Select the MPT text log file lexer.
SCLEX_LOT = 47,
//! Select the YAML lexer.
SCLEX_YAML = 48,
//! Select the TeX lexer.
SCLEX_TEX = 49,
//! Select the Metapost lexer.
SCLEX_METAPOST = 50,
//! Select the PowerBASIC lexer.
SCLEX_POWERBASIC = 51,
//! Select the Forth lexer.
SCLEX_FORTH = 52,
//! Select the Erlang lexer.
SCLEX_ERLANG = 53,
//! Select the Octave lexer.
SCLEX_OCTAVE = 54,
//! Select the MS SQL lexer.
SCLEX_MSSQL = 55,
//! Select the Verilog lexer.
SCLEX_VERILOG = 56,
//! Select the KIX-Scripts lexer.
SCLEX_KIX = 57,
//! Select the Gui4Cli lexer.
SCLEX_GUI4CLI = 58,
//! Select the Specman E lexer.
SCLEX_SPECMAN = 59,
//! Select the AutoIt3 lexer.
SCLEX_AU3 = 60,
//! Select the APDL lexer.
SCLEX_APDL = 61,
//! Select the Bash lexer.
SCLEX_BASH = 62,
//! Select the ASN.1 lexer.
SCLEX_ASN1 = 63,
//! Select the VHDL lexer.
SCLEX_VHDL = 64,
//! Select the Caml lexer.
SCLEX_CAML = 65,
//! Select the BlitzBasic lexer.
SCLEX_BLITZBASIC = 66,
//! Select the PureBasic lexer.
SCLEX_PUREBASIC = 67,
//! Select the Haskell lexer.
SCLEX_HASKELL = 68,
//! Select the PHPScript lexer.
SCLEX_PHPSCRIPT = 69,
//! Select the TADS3 lexer.
SCLEX_TADS3 = 70,
//! Select the REBOL lexer.
SCLEX_REBOL = 71,
//! Select the Smalltalk lexer.
SCLEX_SMALLTALK = 72,
//! Select the FlagShip lexer.
SCLEX_FLAGSHIP = 73,
//! Select the Csound lexer.
SCLEX_CSOUND = 74,
//! Select the FreeBasic lexer.
SCLEX_FREEBASIC = 75,
//! Select the InnoSetup lexer.
SCLEX_INNOSETUP = 76,
//! Select the Opal lexer.
SCLEX_OPAL = 77,
//! Select the Spice lexer.
SCLEX_SPICE = 78,
//! Select the D lexer.
SCLEX_D = 79,
//! Select the CMake lexer.
SCLEX_CMAKE = 80,
//! Select the GAP lexer.
SCLEX_GAP = 81,
//! Select the PLM lexer.
SCLEX_PLM = 82,
//! Select the Progress lexer.
SCLEX_PROGRESS = 83,
//! Select the Abaqus lexer.
SCLEX_ABAQUS = 84,
//! Select the Asymptote lexer.
SCLEX_ASYMPTOTE = 85,
//! Select the R lexer.
SCLEX_R = 86,
//! Select the MagikSF lexer.
SCLEX_MAGIK = 87,
//! Select the PowerShell lexer.
SCLEX_POWERSHELL = 88,
//! Select the MySQL lexer.
SCLEX_MYSQL = 89,
//! Select the gettext .po file lexer.
SCLEX_PO = 90,
//! Select the TAL lexer.
SCLEX_TAL = 91,
//! Select the COBOL lexer.
SCLEX_COBOL = 92,
//! Select the TACL lexer.
SCLEX_TACL = 93,
//! Select the Sorcus lexer.
SCLEX_SORCUS = 94,
//! Select the PowerPro lexer.
SCLEX_POWERPRO = 95,
//! Select the Nimrod lexer.
SCLEX_NIMROD = 96,
//! Select the SML lexer.
SCLEX_SML = 97,
//! Select the Markdown lexer.
SCLEX_MARKDOWN = 98,
//! Select the txt2tags lexer.
SCLEX_TXT2TAGS = 99,
//! Select the 68000 assembler lexer.
SCLEX_A68K = 100,
//! Select the Modula 3 lexer.
SCLEX_MODULA = 101,
//! Select the CoffeeScript lexer.
SCLEX_COFFEESCRIPT = 102,
//! Select the Take Command lexer.
SCLEX_TCMD = 103,
//! Select the AviSynth lexer.
SCLEX_AVS = 104,
//! Select the ECL lexer.
SCLEX_ECL = 105,
//! Select the OScript lexer.
SCLEX_OSCRIPT = 106,
//! Select the Visual Prolog lexer.
SCLEX_VISUALPROLOG = 107,
//! Select the Literal Haskell lexer.
SCLEX_LITERATEHASKELL = 108,
//! Select the Structured Text lexer.
SCLEX_STTXT = 109,
//! Select the KVIrc lexer.
SCLEX_KVIRC = 110,
//! Select the Rust lexer.
SCLEX_RUST = 111,
//! Select the MSC Nastran DMAP lexer.
SCLEX_DMAP = 112,
//! Select the assembler lexer ('#' comment character).
SCLEX_AS = 113,
//! Select the DMIS lexer.
SCLEX_DMIS = 114,
//! Select the lexer for Windows registry files.
SCLEX_REGISTRY = 115,
//! Select the BibTex lexer.
SCLEX_BIBTEX = 116,
//! Select the Motorola S-Record hex lexer.
SCLEX_SREC = 117,
//! Select the Intel hex lexer.
SCLEX_IHEX = 118,
//! Select the Tektronix extended hex lexer.
SCLEX_TEHEX = 119,
};
enum
{
SC_WEIGHT_NORMAL = 400,
SC_WEIGHT_SEMIBOLD = 600,
SC_WEIGHT_BOLD = 700,
};
enum
{
SC_TECHNOLOGY_DEFAULT = 0,
SC_TECHNOLOGY_DIRECTWRITE = 1,
SC_TECHNOLOGY_DIRECTWRITERETAIN = 2,
SC_TECHNOLOGY_DIRECTWRITEDC = 3,
};
enum
{
SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE = 0,
SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE = 1,
};
enum
{
SC_FONT_SIZE_MULTIPLIER = 100,
};
enum
{
SC_FOLDACTION_CONTRACT = 0,
SC_FOLDACTION_EXPAND = 1,
SC_FOLDACTION_TOGGLE = 2,
};
enum
{
SC_AUTOMATICFOLD_SHOW = 0x0001,
SC_AUTOMATICFOLD_CLICK = 0x0002,
SC_AUTOMATICFOLD_CHANGE = 0x0004,
};
enum
{
SC_ORDER_PRESORTED = 0,
SC_ORDER_PERFORMSORT = 1,
SC_ORDER_CUSTOM = 2,
};
//! Construct an empty QsciScintillaBase with parent \a parent.
explicit QsciScintillaBase(QWidget *parent = 0);
//! Destroys the QsciScintillaBase instance.
virtual ~QsciScintillaBase();
//! Returns a pointer to a QsciScintillaBase instance, or 0 if there isn't
//! one. This can be used by the higher level API to send messages that
//! aren't associated with a particular instance.
static QsciScintillaBase *pool();
//! Send the Scintilla message \a msg with the optional parameters \a
//! wParam and \a lParam.
long SendScintilla(unsigned int msg, unsigned long wParam = 0,
long lParam = 0) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam,
void *lParam) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam,
const char *lParam) const;
//! \overload
long SendScintilla(unsigned int msg, const char *lParam) const;
//! \overload
long SendScintilla(unsigned int msg, const char *wParam,
const char *lParam) const;
//! \overload
long SendScintilla(unsigned int msg, long wParam) const;
//! \overload
long SendScintilla(unsigned int msg, int wParam) const;
//! \overload
long SendScintilla(unsigned int msg, long cpMin, long cpMax,
char *lpstrText) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam,
const QColor &col) const;
//! \overload
long SendScintilla(unsigned int msg, const QColor &col) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam, QPainter *hdc,
const QRect &rc, long cpMin, long cpMax) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam,
const QPixmap &lParam) const;
//! \overload
long SendScintilla(unsigned int msg, unsigned long wParam,
const QImage &lParam) const;
//! Send the Scintilla message \a msg and return a pointer result.
void *SendScintillaPtrResult(unsigned int msg) const;
//! \internal
static int commandKey(int qt_key, int &modifiers);
signals:
//! This signal is emitted when text is selected or de-selected.
//! \a yes is true if text has been selected and false if text has been
//! deselected.
void QSCN_SELCHANGED(bool yes);
//! This signal is emitted when the user cancels an auto-completion list.
//!
//! \sa SCN_AUTOCSELECTION()
void SCN_AUTOCCANCELLED();
//! This signal is emitted when the user deletes a character when an
//! auto-completion list is active.
void SCN_AUTOCCHARDELETED();
//! This signal is emitted when the user selects an item in an
//! auto-completion list. It is emitted before the selection is inserted.
//! The insertion can be cancelled by sending an SCI_AUTOCANCEL message
//! from a connected slot.
//! \a selection is the text of the selection.
//! \a position is the start position of the word being completed.
//!
//! \sa SCN_AUTOCCANCELLED()
void SCN_AUTOCSELECTION(const char *selection, int position);
//! This signal is emitted when the document has changed for any reason.
void SCEN_CHANGE();
//! This signal ir emitted when the user clicks on a calltip.
//! \a direction is 1 if the user clicked on the up arrow, 2 if the user
//! clicked on the down arrow, and 0 if the user clicked elsewhere.
void SCN_CALLTIPCLICK(int direction);
//! This signal is emitted whenever the user enters an ordinary character
//! into the text.
//! \a charadded is the character. It can be used to decide to display a
//! call tip or an auto-completion list.
void SCN_CHARADDED(int charadded);
//! This signal is emitted when the user double clicks.
//! \a position is the position in the text where the click occured.
//! \a line is the number of the line in the text where the click occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user double clicked.
void SCN_DOUBLECLICK(int position, int line, int modifiers);
//!
void SCN_DWELLEND(int, int, int);
//!
void SCN_DWELLSTART(int, int, int);
//! This signal is emitted when focus is received.
void SCN_FOCUSIN();
//! This signal is emitted when focus is lost.
void SCN_FOCUSOUT();
//! This signal is emitted when the user clicks on text in a style with the
//! hotspot attribute set.
//! \a position is the position in the text where the click occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user clicked.
void SCN_HOTSPOTCLICK(int position, int modifiers);
//! This signal is emitted when the user double clicks on text in a style
//! with the hotspot attribute set.
//! \a position is the position in the text where the double click occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user double clicked.
void SCN_HOTSPOTDOUBLECLICK(int position, int modifiers);
//! This signal is emitted when the user releases the mouse button on text
//! in a style with the hotspot attribute set.
//! \a position is the position in the text where the release occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user released the button.
void SCN_HOTSPOTRELEASECLICK(int position, int modifiers);
//! This signal is emitted when the user clicks on text that has an
//! indicator.
//! \a position is the position in the text where the click occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user clicked.
void SCN_INDICATORCLICK(int position, int modifiers);
//! This signal is emitted when the user releases the mouse button on text
//! that has an indicator.
//! \a position is the position in the text where the release occured.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user released.
void SCN_INDICATORRELEASE(int position, int modifiers);
//! This signal is emitted when a recordable editor command has been
//! executed.
void SCN_MACRORECORD(unsigned int, unsigned long, void *);
//! This signal is emitted when the user clicks on a sensitive margin.
//! \a position is the position of the start of the line against which the
//! user clicked.
//! \a modifiers is the logical or of the modifier keys that were pressed
//! when the user clicked.
//! \a margin is the number of the margin the user clicked in: 0, 1 or 2.
//!
//! \sa SCI_GETMARGINSENSITIVEN, SCI_SETMARGINSENSITIVEN
void SCN_MARGINCLICK(int position, int modifiers, int margin);
//!
void SCN_MODIFIED(int, int, const char *, int, int, int, int, int, int, int);
//! This signal is emitted when the user attempts to modify read-only
//! text.
void SCN_MODIFYATTEMPTRO();
//!
void SCN_NEEDSHOWN(int, int);
//! This signal is emitted when painting has been completed. It is useful
//! to trigger some other change but to have the paint be done first to
//! appear more reponsive to the user.
void SCN_PAINTED();
//! This signal is emitted when the current state of the text no longer
//! corresponds to the state of the text at the save point.
//!
//! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTREACHED()
void SCN_SAVEPOINTLEFT();
//! This signal is emitted when the current state of the text corresponds
//! to the state of the text at the save point. This allows feedback to be
//! given to the user as to whether the text has been modified since it was
//! last saved.
//!
//! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTLEFT()
void SCN_SAVEPOINTREACHED();
//! This signal is emitted when a range of text needs to be syntax styled.
//! The range is from the value returned by the SCI_GETENDSTYLED message
//! and \a position. It is only emitted if the currently selected lexer is
//! SCLEX_CONTAINER.
//!
//! \sa SCI_COLOURISE, SCI_GETENDSTYLED
void SCN_STYLENEEDED(int position);
//! This signal is emitted when either the text or styling of the text has
//! changed or the selection range or scroll position has changed.
//! \a updated contains the set of SC_UPDATE_* flags describing the changes
//! since the signal was last emitted.
void SCN_UPDATEUI(int updated);
//!
void SCN_USERLISTSELECTION(const char *, int);
//!
void SCN_ZOOM();
protected:
//! Returns true if the contents of a MIME data object can be decoded and
//! inserted into the document. It is called during drag and paste
//! operations.
//! \a source is the MIME data object.
//!
//! \sa fromMimeData(), toMimeData()
virtual bool canInsertFromMimeData(const QMimeData *source) const;
//! Returns the text of a MIME data object. It is called when a drag and
//! drop is completed and when text is pasted from the clipboard.
//! \a source is the MIME data object. On return \a rectangular is set if
//! the text corresponds to a rectangular selection.
//!
//! \sa canInsertFromMimeData(), toMimeData()
virtual QByteArray fromMimeData(const QMimeData *source, bool &rectangular) const;
//! Returns a new MIME data object containing some text and whether it
//! corresponds to a rectangular selection. It is called when a drag and
//! drop is started and when the selection is copied to the clipboard.
//! Ownership of the object is passed to the caller. \a text is the text.
//! \a rectangular is set if the text corresponds to a rectangular
//! selection.
//!
//! \sa canInsertFromMimeData(), fromMimeData()
virtual QMimeData *toMimeData(const QByteArray &text, bool rectangular) const;
//! Re-implemented to handle the context menu.
virtual void contextMenuEvent(QContextMenuEvent *e);
//! Re-implemented to handle drag enters.
virtual void dragEnterEvent(QDragEnterEvent *e);
//! Re-implemented to handle drag leaves.
virtual void dragLeaveEvent(QDragLeaveEvent *e);
//! Re-implemented to handle drag moves.
virtual void dragMoveEvent(QDragMoveEvent *e);
//! Re-implemented to handle drops.
virtual void dropEvent(QDropEvent *e);
//! Re-implemented to tell Scintilla it has the focus.
virtual void focusInEvent(QFocusEvent *e);
//! Re-implemented to tell Scintilla it has lost the focus.
virtual void focusOutEvent(QFocusEvent *e);
//! Re-implemented to allow tabs to be entered as text.
virtual bool focusNextPrevChild(bool next);
//! Re-implemented to handle key presses.
virtual void keyPressEvent(QKeyEvent *e);
//! Re-implemented to handle composed characters.
virtual void inputMethodEvent(QInputMethodEvent *event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
//! Re-implemented to handle mouse double-clicks.
virtual void mouseDoubleClickEvent(QMouseEvent *e);
//! Re-implemented to handle mouse moves.
virtual void mouseMoveEvent(QMouseEvent *e);
//! Re-implemented to handle mouse presses.
virtual void mousePressEvent(QMouseEvent *e);
//! Re-implemented to handle mouse releases.
virtual void mouseReleaseEvent(QMouseEvent *e);
//! Re-implemented to paint the viewport.
virtual void paintEvent(QPaintEvent *e);
//! Re-implemented to handle resizes.
virtual void resizeEvent(QResizeEvent *e);
//! \internal Re-implemented to handle scrolling.
virtual void scrollContentsBy(int dx, int dy);
//! \internal This helps to work around some Scintilla bugs.
void setScrollBars();
//! \internal Qt4, Qt5 portability.
typedef QByteArray ScintillaBytes;
#define ScintillaBytesConstData(b) (b).constData()
//! \internal Convert a QString to encoded bytes.
ScintillaBytes textAsBytes(const QString &text) const;
//! \internal Convert encoded bytes to a QString.
QString bytesAsText(const char *bytes) const;
private slots:
void handleVSb(int value);
void handleHSb(int value);
void handleSelection();
private:
// This is needed to allow QsciScintillaQt to emit this class's signals.
friend class QsciScintillaQt;
QsciScintillaQt *sci;
QPoint triple_click_at;
QTimer triple_click;
int preeditPos;
int preeditNrBytes;
QString preeditString;
#if QT_VERSION >= 0x050000
bool clickCausedFocus;
#endif
void acceptAction(QDropEvent *e);
QsciScintillaBase(const QsciScintillaBase &);
QsciScintillaBase &operator=(const QsciScintillaBase &);
};
#ifdef __APPLE__
}
#endif
#endif
|