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
  • 相关阅读:
    iPhone6虽好,但也要借鉴这八个功能
    中小型企业商业智能平台的开发和实现(数据仓库、BI系统、真实项目实战)
    iOS开发入门教程_iOS开发视频教程
    零基础入门jQuery视频教程
    零基础3G Android移动开发就业培训
    请求库requesets库使用
    请求头加引号工具
    请求库urllib使用
    【Liunx】saltstack运维工具
    【Liunx】消息队列rabbitmp
  • 原文地址:https://www.cnblogs.com/tuzhiye/p/1587701.html
Copyright © 2011-2022 走看看