zoukankan      html  css  js  c++  java
  • ultraedit支持lua

    1.运行lua 语法检查

    高级-工具配置
    命令行:lua -e "io.stdout:setvbuf 'no'" %n%e
    工作目录:%p

     快捷键定义:高级-配置-键映射 "AdvanceuserTool1" 中新热键 F5, 按“分配”按钮

    2.lua语法高亮。把以下内容拷贝粘贴到wordfile.uew的末尾--支持块注释

    /L14"Lua" Block Comment On = --[[ Block Comment Off = ]] Block Comment On Alt = -- Escape Char = \ String Chars = “‘ File Extensions = LUA
    /Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,    .?
    /Function String 1 = "function[ ]++[a-zA-Z]*)"
    /Function String 2 = "function[ ]++([ a-zA-Z]*)"
    /Open Fold Strings = "function" "if" "while" "for"
    /Close Fold Strings = "end"
    /C1 "key words"
    and
    break
    do
    else 
    elseif 
    end
    function
    if in
    local
    nil not
    or
    repeat return
    then
    until
    while
    /C2
    abs acos appendto ascii asin assert atan atan2
    call ceil clock collectgarbage copytagmethods cos
    date deg dofile dostring
    error execute exit
    false find floor foreach foreachvar format frexp
    getbinmethod getenv getglobal gettagmethod gfind gmatch gsub
    insert ipairs
    ldexp log log10
    match max min mod
    newtag next nextvar
    os
    pairs print
    rad random randomseed rawgetglobal rawgettable rawsetglobal rawsettable read
    readfrom remove rename
    seterrormethod setglobal setlocale settag settagmethod sin sqrt strbyte sub
    strchar strfind string strlen strlower strrep strsub strupper
    table tag tan tmpname tonumber tostring true type
    write writeto
    /C3
    $debug
    $else
    $end
    $endinput
    $if
    $ifnot
    $nodebug
    /C4
    PI
    _INPUT _OUTPUT _STDERR _STDIN _STDOUT
    /C5
    +
    -
    *
    // /
    ^
    <
    >
    =
    ~
    %
    .
    :
    /C6
    ;
    ,
    (
    )
    {
    }
    [
    ]
    /C7
    cgi cgilua cgilua_url char2hexa chdir
    dbluaerrorfb dblua_escape decode default_script
    encodecgi encodetable escape
    filetype
    getvalue
    hexa hexa2char html_mask
    includehtml insertfield
    lua_mask
    maketable map mkurl
    nopipe
    preprocess
    redirect relativeurl relative_url
    saveluavar savestate script_path script_pdir script_vdir stateerrormethod
    statefile stdin strsplit
    unescape
    /C8
    DBClose DBExec DBOpen DBRow
  • 相关阅读:
    Python 自学笔记(二)
    Python 自学笔记(一)
    java.net.MalformedURLException: unknown protocol: 异常
    选择排序精简理解
    JAVA基于File的基本的增删改查
    Oracle常用操作表结构的语句
    jQuery
    基于jquery的ajax方法封装
    javascript运算符——条件、逗号、赋值、()和void运算符 (转载)
    javascript 闭包
  • 原文地址:https://www.cnblogs.com/tuzhiye/p/1587701.html
Copyright © 2011-2022 走看看