来自:http://blog.csdn.net/gzshun/article/details/8294305
找了好几个CodeBlocks的背景色,都不太如人意。感觉下面这个还不错,所以转来给大家分享(部分由修改):
Windows下面的配置:
codeblocks的配置文件是default.conf,在Windows系统下,该文件在C:Documents and SettingsAdministratorApplication DataCodeBlocks
找到后用下面的代码代替其中的<colour_sets></colour_sets>内容即可,注意修改前请务必关闭CodeBlocks。
1 <colour_sets> 2 <ACTIVE_COLOUR_SET> 3 <str> 4 <![CDATA[vim]]> 5 </str> 6 </ACTIVE_COLOUR_SET> 7 <ACTIVE_LANG> 8 <str> 9 <![CDATA[C/C++]]> 10 </str> 11 </ACTIVE_LANG> 12 <oblivion> 13 <NAME> 14 <str> 15 <![CDATA[oblivion]]> 16 </str> 17 </NAME> 18 <cc> 19 <style0> 20 <FORE> 21 <colour r="238" g="238" b="236" /> 22 </FORE> 23 <BACK> 24 <colour r="46" g="52" b="54" /> 25 </BACK> 26 <NAME> 27 <str> 28 <![CDATA[Default]]> 29 </str> 30 </NAME> 31 </style0> 32 <style1> 33 <FORE> 34 <colour r="238" g="238" b="236" /> 35 </FORE> 36 <BACK> 37 <colour r="46" g="52" b="54" /> 38 </BACK> 39 <NAME> 40 <str> 41 <![CDATA[Default]]> 42 </str> 43 </NAME> 44 </style1> 45 <style5> 46 <FORE> 47 <colour r="136" g="138" b="133" /> 48 </FORE> 49 <NAME> 50 <str> 51 <![CDATA[Comment (normal)]]> 52 </str> 53 </NAME> 54 </style5> 55 <style6> 56 <FORE> 57 <colour r="136" g="138" b="133" /> 58 </FORE> 59 <NAME> 60 <str> 61 <![CDATA[Comment (normal)]]> 62 </str> 63 </NAME> 64 </style6> 65 <style7> 66 <FORE> 67 <colour r="136" g="138" b="133" /> 68 </FORE> 69 <NAME> 70 <str> 71 <![CDATA[Comment (normal)]]> 72 </str> 73 </NAME> 74 </style7> 75 <style8> 76 <FORE> 77 <colour r="136" g="138" b="133" /> 78 </FORE> 79 <NAME> 80 <str> 81 <![CDATA[Comment (normal)]]> 82 </str> 83 </NAME> 84 </style8> 85 <style11> 86 <FORE> 87 <colour r="52" g="101" b="164" /> 88 </FORE> 89 <BOLD bool="0" /> 90 <NAME> 91 <str> 92 <![CDATA[Comment (documentation)]]> 93 </str> 94 </NAME> 95 </style11> 96 <style12> 97 <FORE> 98 <colour r="52" g="101" b="164" /> 99 </FORE> 100 <BOLD bool="0" /> 101 <NAME> 102 <str> 103 <![CDATA[Comment (documentation)]]> 104 </str> 105 </NAME> 106 </style12> 107 <style17> 108 <FORE> 109 <colour r="164" g="0" b="0" /> 110 </FORE> 111 <NAME> 112 <str> 113 <![CDATA[Comment keyword error (documentation)]]> 114 </str> 115 </NAME> 116 </style17> 117 <style18> 118 <FORE> 119 <colour r="164" g="0" b="0" /> 120 </FORE> 121 <NAME> 122 <str> 123 <![CDATA[Comment keyword error (documentation)]]> 124 </str> 125 </NAME> 126 </style18> 127 <style19> 128 <FORE> 129 <colour r="173" g="127" b="168" /> 130 </FORE> 131 <BACK> 132 <colour r="46" g="52" b="54" /> 133 </BACK> 134 <BOLD bool="1" /> 135 <NAME> 136 <str> 137 <![CDATA[Number]]> 138 </str> 139 </NAME> 140 </style19> 141 <style21> 142 <FORE> 143 <colour r="233" g="185" b="110" /> 144 </FORE> 145 <NAME> 146 <str> 147 <![CDATA[Keyword]]> 148 </str> 149 </NAME> 150 </style21> 151 <style23> 152 <FORE> 153 <colour r="78" g="154" b="6" /> 154 </FORE> 155 <NAME> 156 <str> 157 <![CDATA[User keyword]]> 158 </str> 159 </NAME> 160 </style23> 161 <style27> 162 <FORE> 163 <colour r="185" g="49" b="0" /> 164 </FORE> 165 <BACK> 166 <colour r="30" g="3" b="0" /> 167 </BACK> 168 <NAME> 169 <str> 170 <![CDATA[String]]> 171 </str> 172 </NAME> 173 </style27> 174 <style28> 175 <FORE> 176 <colour r="185" g="49" b="0" /> 177 </FORE> 178 <BACK> 179 <colour r="30" g="3" b="0" /> 180 </BACK> 181 <NAME> 182 <str> 183 <![CDATA[String]]> 184 </str> 185 </NAME> 186 </style28> 187 <style31> 188 <FORE> 189 <colour r="245" g="121" b="0" /> 190 </FORE> 191 <NAME> 192 <str> 193 <![CDATA[Character]]> 194 </str> 195 </NAME> 196 </style31> 197 <style33> 198 <FORE> 199 <colour r="211" g="215" b="207" /> 200 </FORE> 201 <NAME> 202 <str> 203 <![CDATA[UUID]]> 204 </str> 205 </NAME> 206 </style33> 207 <style34> 208 <FORE> 209 <colour r="78" g="154" b="6" /> 210 </FORE> 211 <NAME> 212 <str> 213 <![CDATA[Preprocessor]]> 214 </str> 215 </NAME> 216 </style34> 217 <style36> 218 <FORE> 219 <colour r="233" g="185" b="110" /> 220 </FORE> 221 <NAME> 222 <str> 223 <![CDATA[Operator]]> 224 </str> 225 </NAME> 226 </style36> 227 <style38> 228 <BACK> 229 <colour r="23" g="32" b="24" /> 230 </BACK> 231 <NAME> 232 <str> 233 <![CDATA[Selection]]> 234 </str> 235 </NAME> 236 </style38> 237 <style39> 238 <BACK> 239 <colour r="24" g="33" b="33" /> 240 </BACK> 241 <NAME> 242 <str> 243 <![CDATA[Active line]]> 244 </str> 245 </NAME> 246 </style39> 247 <style40> 248 <BACK> 249 <colour r="114" g="159" b="207" /> 250 </BACK> 251 <NAME> 252 <str> 253 <![CDATA[Matching brace highlight]]> 254 </str> 255 </NAME> 256 </style40> 257 <style41> 258 <FORE> 259 <colour r="238" g="238" b="236" /> 260 </FORE> 261 <BACK> 262 <colour r="164" g="0" b="0" /> 263 </BACK> 264 <NAME> 265 <str> 266 <![CDATA[No matching brace highlight]]> 267 </str> 268 </NAME> 269 </style41> 270 <NAME bool="1"> 271 <str> 272 <![CDATA[C/C++]]> 273 </str> 274 </NAME> 275 <editor> 276 <keywords> 277 <SET4> 278 <str> 279 <![CDATA[__cplusplus __GNUC__ __GNUG__]]> 280 </str> 281 </SET4> 282 </keywords> 283 </editor> 284 </cc> 285 </oblivion> 286 <desert> 287 <NAME> 288 <str> 289 <![CDATA[desert]]> 290 </str> 291 </NAME> 292 <cc> 293 <style0> 294 <FORE> 295 <colour r="255" g="255" b="255" /> 296 </FORE> 297 <BACK> 298 <colour r="43" g="43" b="43" /> 299 </BACK> 300 <NAME> 301 <str> 302 <![CDATA[Default]]> 303 </str> 304 </NAME> 305 </style0> 306 <style1> 307 <FORE> 308 <colour r="255" g="255" b="255" /> 309 </FORE> 310 <BACK> 311 <colour r="43" g="43" b="43" /> 312 </BACK> 313 <NAME> 314 <str> 315 <![CDATA[Default]]> 316 </str> 317 </NAME> 318 </style1> 319 <style5> 320 <FORE> 321 <colour r="135" g="206" b="235" /> 322 </FORE> 323 <NAME> 324 <str> 325 <![CDATA[Comment (normal)]]> 326 </str> 327 </NAME> 328 </style5> 329 <style6> 330 <FORE> 331 <colour r="135" g="206" b="235" /> 332 </FORE> 333 <NAME> 334 <str> 335 <![CDATA[Comment (normal)]]> 336 </str> 337 </NAME> 338 </style6> 339 <style7> 340 <FORE> 341 <colour r="135" g="206" b="235" /> 342 </FORE> 343 <NAME> 344 <str> 345 <![CDATA[Comment (normal)]]> 346 </str> 347 </NAME> 348 </style7> 349 <style8> 350 <FORE> 351 <colour r="135" g="206" b="235" /> 352 </FORE> 353 <NAME> 354 <str> 355 <![CDATA[Comment (normal)]]> 356 </str> 357 </NAME> 358 </style8> 359 <style11> 360 <FORE> 361 <colour r="105" g="105" b="105" /> 362 </FORE> 363 <BOLD bool="0" /> 364 <NAME> 365 <str> 366 <![CDATA[Comment (documentation)]]> 367 </str> 368 </NAME> 369 </style11> 370 <style12> 371 <FORE> 372 <colour r="105" g="105" b="105" /> 373 </FORE> 374 <BOLD bool="0" /> 375 <NAME> 376 <str> 377 <![CDATA[Comment (documentation)]]> 378 </str> 379 </NAME> 380 </style12> 381 <style19> 382 <FORE> 383 <colour r="255" g="160" b="160" /> 384 </FORE> 385 <NAME> 386 <str> 387 <![CDATA[Number]]> 388 </str> 389 </NAME> 390 </style19> 391 <style21> 392 <FORE> 393 <colour r="189" g="183" b="107" /> 394 </FORE> 395 <NAME> 396 <str> 397 <![CDATA[Keyword]]> 398 </str> 399 </NAME> 400 </style21> 401 <style23> 402 <FORE> 403 <colour r="255" g="128" b="64" /> 404 </FORE> 405 <NAME> 406 <str> 407 <![CDATA[User keyword]]> 408 </str> 409 </NAME> 410 </style23> 411 <style27> 412 <FORE> 413 <colour r="255" g="160" b="160" /> 414 </FORE> 415 <NAME> 416 <str> 417 <![CDATA[String]]> 418 </str> 419 </NAME> 420 </style27> 421 <style28> 422 <FORE> 423 <colour r="255" g="160" b="160" /> 424 </FORE> 425 <NAME> 426 <str> 427 <![CDATA[String]]> 428 </str> 429 </NAME> 430 </style28> 431 <style31> 432 <FORE> 433 <colour r="255" g="255" b="255" /> 434 </FORE> 435 <NAME> 436 <str> 437 <![CDATA[Character]]> 438 </str> 439 </NAME> 440 </style31> 441 <style33> 442 <FORE> 443 <colour r="255" g="255" b="255" /> 444 </FORE> 445 <NAME> 446 <str> 447 <![CDATA[UUID]]> 448 </str> 449 </NAME> 450 </style33> 451 <style34> 452 <FORE> 453 <colour r="205" g="92" b="92" /> 454 </FORE> 455 <NAME> 456 <str> 457 <![CDATA[Preprocessor]]> 458 </str> 459 </NAME> 460 </style34> 461 <style36> 462 <FORE> 463 <colour r="255" g="255" b="255" /> 464 </FORE> 465 <NAME> 466 <str> 467 <![CDATA[Operator]]> 468 </str> 469 </NAME> 470 </style36> 471 <style39> 472 <FORE> 473 <colour r="192" g="192" b="192" /> 474 </FORE> 475 <BACK> 476 <colour r="255" g="0" b="0" /> 477 </BACK> 478 <NAME> 479 <str> 480 <![CDATA[Active line]]> 481 </str> 482 </NAME> 483 </style39> 484 <style40> 485 <BACK> 486 <colour r="128" g="128" b="192" /> 487 </BACK> 488 <NAME> 489 <str> 490 <![CDATA[Matching brace highlight]]> 491 </str> 492 </NAME> 493 </style40> 494 <NAME> 495 <str> 496 <![CDATA[C/C++]]> 497 </str> 498 </NAME> 499 <editor> 500 <keywords /> 501 </editor> 502 </cc> 503 </desert> 504 <ulipad> 505 <NAME> 506 <str> 507 <![CDATA[ulipad]]> 508 </str> 509 </NAME> 510 <cc> 511 <style0> 512 <FORE> 513 <colour r="141" g="176" b="211" /> 514 </FORE> 515 <BACK> 516 <colour r="17" g="36" b="53" /> 517 </BACK> 518 <NAME> 519 <str> 520 <![CDATA[Default]]> 521 </str> 522 </NAME> 523 </style0> 524 <style1> 525 <FORE> 526 <colour r="141" g="176" b="211" /> 527 </FORE> 528 <BACK> 529 <colour r="17" g="36" b="53" /> 530 </BACK> 531 <NAME> 532 <str> 533 <![CDATA[Default]]> 534 </str> 535 </NAME> 536 </style1> 537 <style5> 538 <FORE> 539 <colour r="0" g="207" b="203" /> 540 </FORE> 541 <NAME> 542 <str> 543 <![CDATA[Comment (normal)]]> 544 </str> 545 </NAME> 546 </style5> 547 <style6> 548 <FORE> 549 <colour r="0" g="207" b="203" /> 550 </FORE> 551 <NAME> 552 <str> 553 <![CDATA[Comment (normal)]]> 554 </str> 555 </NAME> 556 </style6> 557 <style7> 558 <FORE> 559 <colour r="0" g="207" b="203" /> 560 </FORE> 561 <NAME> 562 <str> 563 <![CDATA[Comment (normal)]]> 564 </str> 565 </NAME> 566 </style7> 567 <style8> 568 <FORE> 569 <colour r="0" g="207" b="203" /> 570 </FORE> 571 <NAME> 572 <str> 573 <![CDATA[Comment (normal)]]> 574 </str> 575 </NAME> 576 </style8> 577 <style11> 578 <FORE> 579 <colour r="0" g="207" b="203" /> 580 </FORE> 581 <NAME> 582 <str> 583 <![CDATA[Comment (documentation)]]> 584 </str> 585 </NAME> 586 </style11> 587 <style12> 588 <FORE> 589 <colour r="0" g="207" b="203" /> 590 </FORE> 591 <NAME> 592 <str> 593 <![CDATA[Comment (documentation)]]> 594 </str> 595 </NAME> 596 </style12> 597 <style15> 598 <FORE> 599 <colour r="111" g="66" b="66" /> 600 </FORE> 601 <NAME> 602 <str> 603 <![CDATA[Comment keyword (documentation)]]> 604 </str> 605 </NAME> 606 </style15> 607 <style16> 608 <FORE> 609 <colour r="111" g="66" b="66" /> 610 </FORE> 611 <NAME> 612 <str> 613 <![CDATA[Comment keyword (documentation)]]> 614 </str> 615 </NAME> 616 </style16> 617 <style17> 618 <FORE> 619 <colour r="0" g="0" b="255" /> 620 </FORE> 621 <NAME> 622 <str> 623 <![CDATA[Comment keyword error (documentation)]]> 624 </str> 625 </NAME> 626 </style17> 627 <style18> 628 <FORE> 629 <colour r="0" g="0" b="255" /> 630 </FORE> 631 <NAME> 632 <str> 633 <![CDATA[Comment keyword error (documentation)]]> 634 </str> 635 </NAME> 636 </style18> 637 <style21> 638 <FORE> 639 <colour r="255" g="255" b="0" /> 640 </FORE> 641 <NAME> 642 <str> 643 <![CDATA[Keyword]]> 644 </str> 645 </NAME> 646 </style21> 647 <style23> 648 <FORE> 649 <colour r="141" g="176" b="211" /> 650 </FORE> 651 <NAME> 652 <str> 653 <![CDATA[User keyword]]> 654 </str> 655 </NAME> 656 </style23> 657 <style27> 658 <FORE> 659 <colour r="0" g="255" b="128" /> 660 </FORE> 661 <NAME> 662 <str> 663 <![CDATA[String]]> 664 </str> 665 </NAME> 666 </style27> 667 <style28> 668 <FORE> 669 <colour r="0" g="255" b="128" /> 670 </FORE> 671 <NAME> 672 <str> 673 <![CDATA[String]]> 674 </str> 675 </NAME> 676 </style28> 677 <style33> 678 <FORE> 679 <colour r="219" g="112" b="219" /> 680 </FORE> 681 <NAME> 682 <str> 683 <![CDATA[UUID]]> 684 </str> 685 </NAME> 686 </style33> 687 <style34> 688 <FORE> 689 <colour r="128" g="128" b="128" /> 690 </FORE> 691 <NAME> 692 <str> 693 <![CDATA[Preprocessor]]> 694 </str> 695 </NAME> 696 </style34> 697 <style36> 698 <FORE> 699 <colour r="240" g="128" b="79" /> 700 </FORE> 701 <NAME> 702 <str> 703 <![CDATA[Operator]]> 704 </str> 705 </NAME> 706 </style36> 707 <style38> 708 <FORE> 709 <colour r="255" g="255" b="255" /> 710 </FORE> 711 <BACK> 712 <colour r="46" g="159" b="39" /> 713 </BACK> 714 <NAME> 715 <str> 716 <![CDATA[Selection]]> 717 </str> 718 </NAME> 719 </style38> 720 <style39> 721 <BACK> 722 <colour r="255" g="255" b="255" /> 723 </BACK> 724 <NAME> 725 <str> 726 <![CDATA[Active line]]> 727 </str> 728 </NAME> 729 </style39> 730 <editor> 731 <keywords> 732 <SET4> 733 <str> 734 <![CDATA[__cplusplus __GNUC__ __GNUG__]]> 735 </str> 736 </SET4> 737 </keywords> 738 </editor> 739 <NAME> 740 <str> 741 <![CDATA[C/C++]]> 742 </str> 743 </NAME> 744 </cc> 745 </ulipad> 746 <default> 747 <NAME> 748 <str> 749 <![CDATA[default]]> 750 </str> 751 </NAME> 752 </default> 753 <vim> 754 <NAME> 755 <str> 756 <![CDATA[vim]]> 757 </str> 758 </NAME> 759 <cc> 760 <style0> 761 <FORE> 762 <colour r="170" g="170" b="170" /> 763 </FORE> 764 <BACK> 765 <colour r="0" g="0" b="0" /> 766 </BACK> 767 <NAME> 768 <str> 769 <![CDATA[Default]]> 770 </str> 771 </NAME> 772 </style0> 773 <style1> 774 <FORE> 775 <colour r="170" g="170" b="170" /> 776 </FORE> 777 <BACK> 778 <colour r="0" g="0" b="0" /> 779 </BACK> 780 <NAME> 781 <str> 782 <![CDATA[Default]]> 783 </str> 784 </NAME> 785 </style1> 786 <style5> 787 <FORE> 788 <colour r="85" g="255" b="255" /> 789 </FORE> 790 <NAME> 791 <str> 792 <![CDATA[Comment (normal)]]> 793 </str> 794 </NAME> 795 </style5> 796 <style6> 797 <FORE> 798 <colour r="85" g="255" b="255" /> 799 </FORE> 800 <NAME> 801 <str> 802 <![CDATA[Comment (normal)]]> 803 </str> 804 </NAME> 805 </style6> 806 <style7> 807 <FORE> 808 <colour r="85" g="255" b="255" /> 809 </FORE> 810 <NAME> 811 <str> 812 <![CDATA[Comment (normal)]]> 813 </str> 814 </NAME> 815 </style7> 816 <style8> 817 <FORE> 818 <colour r="85" g="255" b="255" /> 819 </FORE> 820 <NAME> 821 <str> 822 <![CDATA[Comment (normal)]]> 823 </str> 824 </NAME> 825 </style8> 826 <style9> 827 <FORE> 828 <colour r="85" g="255" b="255" /> 829 </FORE> 830 <NAME> 831 <str> 832 <![CDATA[Comment line (normal)]]> 833 </str> 834 </NAME> 835 </style9> 836 <style10> 837 <FORE> 838 <colour r="85" g="255" b="255" /> 839 </FORE> 840 <NAME> 841 <str> 842 <![CDATA[Comment line (normal)]]> 843 </str> 844 </NAME> 845 </style10> 846 <style11> 847 <FORE> 848 <colour r="85" g="255" b="255" /> 849 </FORE> 850 <BOLD bool="0" /> 851 <NAME> 852 <str> 853 <![CDATA[Comment (documentation)]]> 854 </str> 855 </NAME> 856 </style11> 857 <style12> 858 <FORE> 859 <colour r="85" g="255" b="255" /> 860 </FORE> 861 <BOLD bool="0" /> 862 <NAME> 863 <str> 864 <![CDATA[Comment (documentation)]]> 865 </str> 866 </NAME> 867 </style12> 868 <style13> 869 <FORE> 870 <colour r="85" g="255" b="255" /> 871 </FORE> 872 <BOLD bool="0" /> 873 <NAME> 874 <str> 875 <![CDATA[Comment line (documentation)]]> 876 </str> 877 </NAME> 878 </style13> 879 <style14> 880 <FORE> 881 <colour r="85" g="255" b="255" /> 882 </FORE> 883 <BOLD bool="0" /> 884 <NAME> 885 <str> 886 <![CDATA[Comment line (documentation)]]> 887 </str> 888 </NAME> 889 </style14> 890 <style19> 891 <FORE> 892 <colour r="255" g="85" b="255" /> 893 </FORE> 894 <NAME> 895 <str> 896 <![CDATA[Number]]> 897 </str> 898 </NAME> 899 </style19> 900 <style20> 901 <FORE> 902 <colour r="255" g="85" b="255" /> 903 </FORE> 904 <NAME> 905 <str> 906 <![CDATA[Number (inactive)]]> 907 </str> 908 </NAME> 909 </style20> 910 <style21> 911 <FORE> 912 <colour r="0" g="255" b="0" /> 913 </FORE> 914 <BOLD bool="0" /> 915 <NAME> 916 <str> 917 <![CDATA[Keyword]]> 918 </str> 919 </NAME> 920 </style21> 921 <style23> 922 <FORE> 923 <colour r="225" g="160" b="0" /> 924 </FORE> 925 <BOLD bool="0" /> 926 <NAME> 927 <str> 928 <![CDATA[User keyword]]> 929 </str> 930 </NAME> 931 </style23> 932 <style24> 933 <FORE> 934 <colour r="160" g="160" b="160" /> 935 </FORE> 936 <NAME> 937 <str> 938 <![CDATA[User keyword (inactive)]]> 939 </str> 940 </NAME> 941 </style24> 942 <style27> 943 <FORE> 944 <colour r="255" g="85" b="255" /> 945 </FORE> 946 <NAME> 947 <str> 948 <![CDATA[String]]> 949 </str> 950 </NAME> 951 </style27> 952 <style28> 953 <FORE> 954 <colour r="255" g="85" b="255" /> 955 </FORE> 956 <NAME> 957 <str> 958 <![CDATA[String]]> 959 </str> 960 </NAME> 961 </style28> 962 <style29> 963 <FORE> 964 <colour r="255" g="85" b="255" /> 965 </FORE> 966 <NAME> 967 <str> 968 <![CDATA[String (inactive)]]> 969 </str> 970 </NAME> 971 </style29> 972 <style30> 973 <FORE> 974 <colour r="255" g="85" b="255" /> 975 </FORE> 976 <NAME> 977 <str> 978 <![CDATA[String (inactive)]]> 979 </str> 980 </NAME> 981 </style30> 982 <style31> 983 <FORE> 984 <colour r="255" g="85" b="255" /> 985 </FORE> 986 <NAME> 987 <str> 988 <![CDATA[Character]]> 989 </str> 990 </NAME> 991 </style31> 992 <style34> 993 <FORE> 994 <colour r="85" g="85" b="255" /> 995 </FORE> 996 <NAME> 997 <str> 998 <![CDATA[Preprocessor]]> 999 </str> 1000 </NAME> 1001 </style34> 1002 <style35> 1003 <FORE> 1004 <colour r="85" g="85" b="255" /> 1005 </FORE> 1006 <NAME> 1007 <str> 1008 <![CDATA[Preprocessor (inactive)]]> 1009 </str> 1010 </NAME> 1011 </style35> 1012 <style36> 1013 <FORE> 1014 <colour r="160" g="160" b="160" /> 1015 </FORE> 1016 <NAME> 1017 <str> 1018 <![CDATA[Operator]]> 1019 </str> 1020 </NAME> 1021 </style36> 1022 <style37> 1023 <FORE> 1024 <colour r="170" g="170" b="170" /> 1025 </FORE> 1026 <NAME> 1027 <str> 1028 <![CDATA[Operator (inactive)]]> 1029 </str> 1030 </NAME> 1031 </style37> 1032 <style38> 1033 <FORE> 1034 <colour r="0" g="0" b="0" /> 1035 </FORE> 1036 <BACK> 1037 <colour r="170" g="170" b="170" /> 1038 </BACK> 1039 <NAME> 1040 <str> 1041 <![CDATA[Selection]]> 1042 </str> 1043 </NAME> 1044 </style38> 1045 <style40> 1046 <FORE> 1047 <colour r="255" g="0" b="0" /> 1048 </FORE> 1049 <BACK> 1050 <colour r="0" g="0" b="0" /> 1051 </BACK> 1052 <ITALICS bool="1" /> 1053 <NAME> 1054 <str> 1055 <![CDATA[Matching brace highlight]]> 1056 </str> 1057 </NAME> 1058 </style40> 1059 <editor> 1060 <keywords> 1061 <SET4> 1062 <str> 1063 <![CDATA[__cplusplus __GNUC__ __GNUG__]]> 1064 </str> 1065 </SET4> 1066 </keywords> 1067 </editor> 1068 <NAME> 1069 <str> 1070 <![CDATA[C/C++]]> 1071 </str> 1072 </NAME> 1073 </cc> 1074 </vim> 1075 </colour_sets>
效果如下:
然后再进行一些后续设置(为了使光标显示):
依次Settings-Editor到如下界面:
width是值光标的宽度,colour是指光标的颜色,选择你喜欢自己的配置即可。
如果你想改变字体的大小,请进行如下设置:
依次Settings-Editor到如下界面:
选择最右边的Choose按钮,将进入字体设置界面,根据个人喜好设置即可。