Highlighting Python syntax in ultraedit

Source: Internet
Author: User
Tags rfc822 snmp ultraedit

Paste the following code to the wordfile.txt file in the ultraeditinstallation directory.

/L10 "Python" python_lang line comment = # Escape char = \ file extensions = py pyw
/Indent strings = ":"
/Function string 1 = "% [, ^ t] + def [] + ^ ([a-zA-Z0-9 _] + * ^ ):"
/Function string 2 = "% [, ^ t] ++ ^ (class [] + [a-zA-Z0-9 _] + * ^ ):"
/Open brace string = "(""["
/Close brace string = ")" "]"
/Delimiters = [] {} () <> = "'.,: +
/C1 "Reserved Words"
And assert
Break
Class continue
Def del
Elif else has t Exec
Finally for from
Global
If import in is
Lambda
Map
Not
None
Or
Pass print
Raise range return
Try
While
/C2 "Built-in functions"
ABS apply
Callable chr cmp coerce compile Complex
Delattr dir divmod
Eval execfile
Filter float
Getattr globals Group
Hasattr hash hex
Id input int intern isinstance issubclass
Joinfields
Len list local long
Max min match
Oct open ORD
POW
Raw_input reduce reload repr round
Search setattr setdefault slice STR splitfields
Unichr Unicode
Tuple type
Vars
Xrange
Zip
_ Import __
/C3 "_ Methods __"
_ ABS _ add _ and __
_ Call _ CMP _ coerce __
_ Del _ delattr _ delitem _ delslice _ Div _ divmod __
_ Float __
_ Getattr _ getitem _ getslice __
_ Hash _ hex __
_ Iadd _ isub _ imod _ idiv _ ipow _ Iand _ ior _ ixor __
_ Ilshift _ irshift __
_ Invert _ int _ init __
_ Len _ long _ lshift __
_ Mod _ Mul __
_ Neg _ nonzero __
_ Oct _ or __
_ POS _ POW __
_ Radd _ rdiv _ rdivmod _ rmod _ rpow _ rlshift _ rrshift __
_ Rshift _ rsub _ rmul _ repr __
_ RAND _ rxor _ ror __
_ Setattr _ setitem _ setSlice _ STR _ Sub __
_ XOR __
/C4 "_ attributes __"
_ Author __
_ Bases __
_ Class _ copyright __
_ Date _ dict _ Doc __
_ License __
_ Methods _ members __
_ Name __
_ Version __
/C5 "exceptions"
Arithmeticerror assertionerror attributeerror
Eoferror exception
Floatingpointerror
Ioerror importerror indentationerror indexerror
Keyerror keyboardinterrupt
Lookuperror
Memoryerror
Nameerror
Overflowerror
Runtimeerror
Standarderror syntaxerror systemerror systemexit
Taberror typeerror
Valueerror
Zerodivisionerror
/C6 "operators"
+ =
-=
% =
/=
** =
& =
| =
^ =
>>=
<=
/C7 "common Libs"
Ast atexit
Basehttpserver Bastion
CMD codecs commands compileall copy
Cgihttpserver Complex
Dbhash dircmp dis dospath dumbdbm
Emacs
Find FMT fnmatch ftplib
Getopt glob gopherlib grep
Htmllib httplib
Ihooks imghdr imputil
Linecache lockfile
Macpath macurl2path mailbox mailcap
Mimetools mimimify mutex math
Mimewriter
Newdir Ni nntplib ntpath nturl2path
OS ospath
PDB pickle pipes poly popen2 posixfile posixpath profile pstats pyclbr
Pyexpat
Para
Quopri
Queue
Rand random RegEx regsub rfc822
Sched sgmllib shelve site sndhdr string sys SNMP
Simplehttpserver stringio socketserver
TB tempfile toaiff token tokenize traceback tty types tzparse
Tkinter
Unicodedata urllib urlparse util UU
Userdict userlist
Wave webbrowser whatsound whichdb whrandom
Xdrlib XML xmlpackage
Zmod
/C8 "others"
Array
Fnmatch
Struct self

Regsub rfc822
Sched sgmllib shelve site sndhdr string sys SNMP
Simplehttpserver stringio socketserver
TB tempfile toaiff token tokenize traceback tty types tzparse
Tkinter
Unicodedata urllib urlparse util UU
Userdict userlist
Wave webbrowser whatsound whichdb whrandom
Xdrlib XML xmlpackage
Zmod
/C8 "others"
Array
Fnmatch
Struct self

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.