瀏覽代碼

Fixed old function names...

master
父節點
當前提交
70448194b0
共有 2 個文件被更改,包括 9 次插入9 次删除
  1. +9
    -9
      xuxuxu.c
  2. 二進制
      xuxuxu.png

+ 9
- 9
xuxuxu.c 查看文件

@@ -129,20 +129,20 @@ int main (void) {
"char", "short", "int", "long", "signed", "unsigned", "float", "double"
};

(void) syntax_insert (0, 0, "#", "\n", '\\', COLOUR_PINK, 0);
(void) syntax_insert (0, 0, "//", "\n", '\0', COLOUR_GREY, 0);
(void) syntax_insert (0, 0, "/*", "*/", '\0', COLOUR_GREY, 0);
(void) syntax_insert (0, 0, "'", "'", '\\', COLOUR_RED, 0);
(void) syntax_insert (0, 0, "\"", "\"", '\\', COLOUR_RED, 0);
(void) syntax_insert (1, 0, ".,:;<=>+-*/%!&~^?|()[]{}", "", '\0', COLOUR_BLUE, 0);
(void) syntax_define (0, 0, "#", "\n", '\\', COLOUR_PINK, 0);
(void) syntax_define (0, 0, "//", "\n", '\0', COLOUR_GREY, 0);
(void) syntax_define (0, 0, "/*", "*/", '\0', COLOUR_GREY, 0);
(void) syntax_define (0, 0, "'", "'", '\\', COLOUR_RED, 0);
(void) syntax_define (0, 0, "\"", "\"", '\\', COLOUR_RED, 0);
(void) syntax_define (1, 0, ".,:;<=>+-*/%!&~^?|()[]{}", "", '\0', COLOUR_BLUE, 0);

for (word = 0; word != 32; ++word) {
(void) syntax_insert (0, 1, c_keywords [word], separator, '\0', COLOUR_YELLOW, 0);
(void) syntax_define (0, 1, c_keywords [word], separator, '\0', COLOUR_YELLOW, 0);
}

(void) syntax_insert (1, 1, "0123456789", separator, '\0', COLOUR_CYAN, 0);
(void) syntax_define (1, 1, "0123456789", separator, '\0', COLOUR_CYAN, 0);

(void) syntax_insert (1, 1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_", separator, '\0', COLOUR_WHITE, 0);
(void) syntax_define (1, 1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_", separator, '\0', COLOUR_WHITE, 0);

buffer = record ();



二進制
xuxuxu.png 查看文件

Before After
Width: 1576  |  Height: 1666  |  Size: 76KB Width: 1576  |  Height: 1666  |  Size: 76KB

Loading…
取消
儲存