From 83f18d2578288fe71fca409e4f03434346b0d5b7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 24 Mar 2015 02:40:41 +0100 Subject: added new lexer configs auto-generated by scite2co.lua * these are still not all languages supported by Scintilla. scite2co.lua does not do a good job of generating styles when SciTE's property files use hardcoded colors/fonts. This commit only includes reasonably good conversion results. The remaining languages need some additional manual labor. * Even these lexers are not perfect and should be revised by comparing them with SciTE's properties. * So many lexers make the "lexer.auto" macro too slow. We need some optimization. E.g. the search-command optimization described in TODO, or an extended EN command for globbing manually specified file names. --- lib/lexers/perl.tes | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lib/lexers/perl.tes (limited to 'lib/lexers/perl.tes') diff --git a/lib/lexers/perl.tes b/lib/lexers/perl.tes new file mode 100644 index 0000000..ea11fbf --- /dev/null +++ b/lib/lexers/perl.tes @@ -0,0 +1,43 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.perl]{ [_ + _#!M[perl,pl]M[lexer.checkheader]"S + -1 + | + _.[pl,pm,pod]M[lexer.checkname] + ' +]_ } + +@[lexer.set.perl]{ + ESSETLEXER,SCLEX_PERL + 0ESSETKEYWORDS + NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ AUTOLOAD BEGIN CORE + DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm and atan2 bind binmode + bless caller chdir chmod chomp chop chown chr chroot close closedir cmp connect + continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif + endgrent endhostent endnetent endprotoent endpwent endservent eof eq eval exec exists + exit exp fcntl fileno flock for foreach fork format formline ge getc getgrent + getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr + getnetbyname getnetent getpeername getpgrp getppid getpriority getprotobyname + getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport + getservent getsockname getsockopt glob gmtime goto grep gt hex if index int ioctl join + keys kill last lc lcfirst le length link listen local localtime lock log lstat lt + map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord + our pack package pipe pop pos print printf prototype push quotemeta qu rand read + readdir readline readlink readpipe recv redo ref rename require reset return reverse + rewinddir rindex rmdir scalar seek seekdir select semctl semget semop send setgrent + sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt + shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort + splice split sprintf sqrt srand stat study sub substr symlink syscall sysopen + sysread sysseek system syswrite tell telldir tie tied time times truncate uc ucfirst + umask undef unless unlink unpack unshift untie until use utime values vec wait + waitpid wantarray warn while write xor given when default break say state UNITCHECK + __SUB__ fc + :M[color.error],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.number],4M[color.set] + :M[color.keyword],5M[color.set] + :M[color.string],6M[color.set] + :M[color.string2],7M[color.set] + :M[color.operator],10M[color.set] +} -- cgit v1.2.3