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
  • 相关阅读:
    模态对话框可能导致程序崩溃
    C++实现将字符串循环左移n个位置
    Android Gallery图片显示和文字提示及Menu 菜单
    android代码实现ScaleAnimation
    Android系统内存管理的问题
    android打电话发短信
    android开发之屏幕设置
    输入法
    黄金周
    气筒
  • 原文地址:https://www.cnblogs.com/tuzhiye/p/1587701.html
Copyright © 2011-2022 走看看