⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tooltipmaps.java

📁 具有不同语法高亮的编辑器实例
💻 JAVA
字号:
package org.fife.ui.rsyntaxtextarea;

import java.util.HashMap;


final class ToolTipMaps {


/*****************************************************************************/


	public static HashMap getCToolTipMap() {

		HashMap hashMap = new HashMap();

		hashMap.put("abort",			"void abort(void)");
		hashMap.put("abs",				"double abs(double x)");
		hashMap.put("acos",				"double acos(double x)");
		hashMap.put("asctime",			"char *asctime(const struct tm *tptr)");
		hashMap.put("asin",				"double asin(double x)");
		hashMap.put("assert",			"assert(test)");
		hashMap.put("atan2",			"double atan2(double y, double x)");
		hashMap.put("atan",				"double atan(double x)");
		hashMap.put("atexit",			"int atexit(void (*func)(void))");
		hashMap.put("atof",				"double atof(const char *s)");
		hashMap.put("atoi",				"int atoi(const char *s)");
		hashMap.put("atol",				"long atol(const char *s)");
		hashMap.put("bsearch",			"void *bsearch(const void *key, const void *base, size_t nelem, size_t size, int (*cmp)(const void *ck, const void *ce))");
		hashMap.put("calloc",			"void *calloc(size_t nelem, size_t size)");
		hashMap.put("ceil",				"double ceil(double x)");
		hashMap.put("clearerr",			"void clearerr(FILE *stream)");
		hashMap.put("clock",			"clock_t clock(void)");
		hashMap.put("cosh",				"double cosh(double x)");
		hashMap.put("cos",				"double cos(double x)");
		hashMap.put("ctime",			"char *ctime(const time_t *tod)");
		hashMap.put("difftime",			"double difftime(time_t t1, time_t t0)");
		hashMap.put("div",				"div_t div(int number, int denom)");
		hashMap.put("exit",				"void exit(int status)");
		hashMap.put("exp",				"double exp(double x)");
		hashMap.put("fabs",				"double fabs(double x)");
		hashMap.put("fclose",			"int fclose(FILE *stream)");
		hashMap.put("feof",				"int feof(FILE *stream)");
		hashMap.put("ferror",			"int ferror(FILE *stream)");
		hashMap.put("fflush",			"int fflush(FILE *stream)");
		hashMap.put("fgetc",			"int fgetc(FILE *stream)");
		hashMap.put("fgetpos",			"int fgetpos(FILE *stream)");
		hashMap.put("fgets",			"char *fgets(char *s, int n, FILE *stream)");
		hashMap.put("floor",			"double floor(double x)");
		hashMap.put("fmod",				"double fmod(double x, double y)");
		hashMap.put("fopen",			"FILE *fopen(const char *filename, const char *mode)");
		hashMap.put("fprintf",			"int fprintf(FILE *stream, const char *format, ...)");
		hashMap.put("fputc",			"int fputc(int c, FILE *stream)");
		hashMap.put("fputs",			"int fputs(const char *s, FILE *stream)");
		hashMap.put("fread",			"size_t fread(void *ptr, size_t size, size_t nelem, FILE *stream)");
		hashMap.put("free",				"void free(void *ptr)");
		hashMap.put("freopen",			"FILE *freopen(const char *filename, const char *mode, FILE *stream)");
		hashMap.put("frexp",			"double frexp(double x, int *pexp)");
		hashMap.put("fscanf",			"int fscanf(FILE *stream, const char *format, ...)");
		hashMap.put("fseek",			"int fseek(FILE *stream, long offset, int mode)");
		hashMap.put("fsetpos",			"int fsetpos(FILE *stream, const fpos_t *pos)");
		hashMap.put("ftell",			"long ftell(FILE *stream)");
		hashMap.put("fwrite",			"size_t fwrite(const void *ptr, size_t size, size_t nelem, FILE *stream)");
		hashMap.put("getc",				"int getc(FILE *stream)");
		hashMap.put("getchar",			"int getchar(void)");
		hashMap.put("getenv",			"char *getenv(const char *name)");
		hashMap.put("gets",				"char (gets(char *s)");
		hashMap.put("gmtime",			"struct tm *gmtime(const time_t *tod)");
		hashMap.put("isalnum",			"int isalnum(int c)");
		hashMap.put("isalpha",			"int isalpha(int c)");
		hashMap.put("iscntrl",			"int iscntrl(int c)");
		hashMap.put("isdigit",			"int isdigit(int c)");
		hashMap.put("isgraph",			"int isgraph(int c)");
		hashMap.put("islower",			"int islower(int c)");
		hashMap.put("isprint",			"int isprint(int c)");
		hashMap.put("ispunct",			"int ispunct(int c)");
		hashMap.put("isspace",			"int isspace(int c)");
		hashMap.put("isupper",			"int isupper(int c)");
		hashMap.put("isxdigit",			"int isxdigit(int c)");
		hashMap.put("labs",				"long labs(long i)");
		hashMap.put("ldexp",			"double ldexp(double x, int exp)");
		hashMap.put("ldiv",				"ldiv_t ldiv(long number, long denom)");
		hashMap.put("localeconv",		"struct lconv *localeconv(void)");
		hashMap.put("localtime",			"struct tm *localtime(const time_t *tod)");
		hashMap.put("log10",			"double log10(double x)");
		hashMap.put("log",				"double log(double x)");
		hashMap.put("longjmp",			"void longjmp(jmp_buf env, int val)");
		hashMap.put("malloc",			"void *malloc(size_t size)");
		hashMap.put("mblen",			"int mblen(const char *s, size_t n)");
		hashMap.put("mbstowcs",			"size_t mbstowcs(wchar_t *wcs, const char *s, size_t n)");
		hashMap.put("mbtowc",			"int mbtowc(wchar_t *pwc, const char *s, size_t n)");
		hashMap.put("memchr",			"void *memchr(const void *s, int c, size_t n)");
		hashMap.put("memcmp",			"int memcmp(const void *s1, const void *s2, size_t n)");
		hashMap.put("memcpy",			"void *memcpy(void *s1, const void *s2, size_t n)");
		hashMap.put("memmove",			"void *memmove(void *s1, const void *s2, size_t n)");
		hashMap.put("memset",			"void *memset(void *s, int c, size_t n)");
		hashMap.put("mktime",			"time_t mktime(struct tm *tptr)");
		hashMap.put("modf",				"double modf(double x, double *pint)");
		hashMap.put("offsetof",			"offsetof(s-type, mbr)");
		hashMap.put("perror",			"void perror(const char *s)");
		hashMap.put("pow",				"double pow(double x, double y)");
		hashMap.put("printf",			"int printf(const char *format, ...)");
		hashMap.put("putc",				"int putc(int c, FILE *stream)");
		hashMap.put("putchar",			"int putchar(int c)");
		hashMap.put("puts",				"int puts(const char *s)");
		hashMap.put("qsort",			"void qsort(void *base, size_t nelem, size_t size, int (*cmp)(const void *e1, const void *e2))");
		hashMap.put("raise",			"int raise(int sig)");
		hashMap.put("rand",				"int rand(void)");
		hashMap.put("realloc",			"void *realloc(void *ptr, size_t size)");
		hashMap.put("remove",			"int remove(const char *filename)");
		hashMap.put("rename",			"int rename(const char *old, const char *new)");
		hashMap.put("rewind",			"void rewind(FILE *stream)");
		hashMap.put("scanf",			"int scanf(const char *format, ...)");
		hashMap.put("setbuf",			"void setbuf(FILE *stream, char *buf)");
		hashMap.put("setjmp",			"setjmp(jmp_buf env)");
		hashMap.put("setlocale",			"char *setlocale(int category, const char *locale)");
		hashMap.put("setvbuf",			"int setvbuf(FILE *stream, char *buf, int mode, size_t size)");
		hashMap.put("signal",			"void (*signal(int sig, void (*func)(int)))(int)");
		hashMap.put("sinh",				"double sinh(double x)");
		hashMap.put("sin",				"double sin(double x)");
		hashMap.put("sprintf",			"int sprintf(char *s, const char *format, ...)");
		hashMap.put("sqrt",				"double sqrt(double x)");
		hashMap.put("srand",			"void srand(unsigned int seed)");
		hashMap.put("sscanf",			"int sscanf(const char *s, const char *format, ...)");
		hashMap.put("strcat",			"char *strcat(char *s1, const char *s2)");
		hashMap.put("strchr",			"char *strchr(const char *s, int c)");
		hashMap.put("strcmp",			"int strcmp(const char *s1, const char *s2)");
		hashMap.put("strcoll",			"int strcoll(const char *s1, const char *s2)");
		hashMap.put("strcpy",			"char *strcpy(char *s1, const char *s2)");
		hashMap.put("strcspn",			"size_t strcspn(const char *s1, const char *s2)");
		hashMap.put("strerror",			"char *strerror(int errcode)");
		hashMap.put("strftime",			"size_t strftime(char *s, size_t n, const char *format, const struct tm *tptr)");
		hashMap.put("strlen",			"size_t strlen(const char *s)");
		hashMap.put("strncat",			"char *strncat(char *s1, const char *s2, size_t n)");
		hashMap.put("strncmp",			"int strncmp(const char *s1, const char *s2, size_t n)");
		hashMap.put("strncpy",			"char *strncpy(char *s1, const char *s2, size_t n)");
		hashMap.put("strpbrk",			"char *strpbrk(const char *s1, const char *s2)");
		hashMap.put("strrchr",			"char *strrchr(const char *s, int c)");
		hashMap.put("strspn",			"size_t strspn(const char *s1, const char *s2)");
		hashMap.put("strstr",			"char *strstr(const char *s1, const char *s2)");
		hashMap.put("strtod",			"double strtod(const char *s, char **endptr)");
		hashMap.put("strtok",			"char *strtok(char *s1, const char *s2)");
		hashMap.put("strtol",			"long strtol(const char *s, char **endptr, int base)");
		hashMap.put("strtoul",			"unsigned long strtoulconst char *s, char **endptr, int base)");
		hashMap.put("strxfrm",			"size_t strxfrm(char *s1, const char *s2, size_t n)");
		hashMap.put("system",			"int system(const char *s)");
		hashMap.put("tanh",				"double tanh(double x)");
		hashMap.put("tan",				"double tan(double x)");
		hashMap.put("time",				"time_t time(time_t *tod)");
		hashMap.put("tmpfile",			"FILE *tmpfile(void)");
		hashMap.put("tmpnam",			"char *tmpnam(char *s)");
		hashMap.put("tolower",			"int tolower(int c)");
		hashMap.put("toupper",			"int toupper(int c)");
		hashMap.put("ungetc",			"int ungetc(int c, FILE *stream)");
		hashMap.put("va_arg",			"va_arg(va_list ap, T)");
		hashMap.put("va_end",			"va_end(va_list ap)");
		hashMap.put("va_start",			"va_start(va_list ap, last-par)");
		hashMap.put("vfprintf",			"int vfprintf(FILE *stream, const char *format, va_list ap)");
		hashMap.put("vprintf",			"int vprintf(const char *format, va_list ap)");
		hashMap.put("vsprintf",			"int vsprintf(char *s, const char *format, va_list ap)");
		hashMap.put("wcstombs",			"size_t wcstombs(char *s, const wchar_t *wcs, size_t n)");
		hashMap.put("wctomb",			"int wctomb(char *s, wchar_t wchar)");

		return hashMap;

	}


/*****************************************************************************/

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -