DX Unified Infrastructure Management

  • 1.  Actual Functionlist for editor highlighting ?

    Posted May 17, 2010 03:40 PM

    Hi!

     

    Does anyone have a more actual list of nimbus-functions for an editor-keyfile, just took the nsa\crimson\lua.key converted it for my beloved EmEditor, imported it, startet to shout, 'cause nimsoft.log was not highlighted. First I think my editor has a little bug or I defined a black on white highlighting, but... hehehe

    nimbus.log was not in the "crimson"-File, perhaps some others are also missing, didnt seek for it now, propably someone has a complete list in his editor and can post it here.

     

    Cheers

    Matthias



  • 2.  Re: Actual Functionlist for editor highlighting ?

    Posted May 19, 2010 06:03 PM

    Enclosing the latest lua.key file for NSA 1.13 (due soon):

     

     

    ----8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<--

     

    [-COMMENT-:GLOBAL]
    # LUA LANGUAGE KEYWORDS FILE FOR CRIMSON EDITOR
    # FIRST EDITED BY Walter Souto R. Junior (wsouto@bayweb.com.br) 05.11.2002
    # UPDATE to Lua 5.0 by Matteo De Simone (matteo.desimone@libero.it) Jun, 16 2003

    [KEYWORDS0:GLOBAL]
    #
    # Lua reserved words
    #
    and
    break
    do
    else
    elseif
    false
    for
    function
    if
    in
    local
    nil
    not
    or
    repeat
    return
    true
    until
    while
    end
    then

    [KEYWORDS1:GLOBAL]
    #
    # Lua internal functions
    #
    assert
    collectgarbage
    dofile
    error
    _G
    getfenv
    getmetatable
    gcinfo
    ipairs
    loadfile
    loadlib
    loadstring
    next
    pairs
    pcall
    print
    rawequal
    rawget
    rawset
    require
    setfenv
    setmetatable
    tonumber
    tostring
    type
    unpack
    _VERSION
    xpcall
    # Nimsoft Extentions
    left
    substr
    split
    trim
    regexp
    right
    mid
    printf
    sprintf
    exit
    sleep
    thread
    setvariable
    getvariable



    [KEYWORDS2:GLOBAL]
    #
    # Standard library functions
    #
    math bs
    math acos
    math asin
    math atan
    math atan2
    math ceil
    math cos
    math def
    math exp
    math floor
    math frexp
    math ldexp
    math log
    math log10
    math max
    math min
    math mod
    math pi
    math pow
    math rad
    math random
    math randomseed
    math sin
    math sqrt
    math tan
    io close
    io flush
    io input
    io lines
    io open
    io output
    io read
    io stderr
    io stdin
    io stdout
    io tmpfile
    io type
    io write
    debug debug
    debug gethook
    debug getinfo
    debug getlocal
    debug getupvalue
    debug sethook
    debug setlocal
    debug setupvalue
    debug traceback
    coroutine create
    coroutine resume
    coroutine status
    coroutine wrap
    coroutine yield
    os clock
    os date
    os difftime
    os execute
    os exit
    os getenv
    os remove
    os rename
    os setlocale
    os time
    os tmpname
    string byte
    string char
    string dump
    string find
    string format
    string gsub
    string len
    string lower
    string rep
    string sub
    string upper
    table concat
    table foreach
    table foreachi
    table getn
    table insert
    table remove
    table setn
    table sort

    [KEYWORDS3:GLOBAL]
    #
    # NimLUA extensions
    #
    nimbus.login
    nimbus.setloglevel
    nimbus.request
    nimbus.alarm
    nimbus.qos
    nimbus.qos_definition
    nimbus.post
    nimbus.log
    nimbus.session_open
    nimbus.session_close
    nimbus.session_request
    nimbus.encrypt
    nimbus.decrypt
    database.open
    database.query
    database.setvariable
    database.getvariable
    database.close
    action.email
    action.SMS
    action.command
    action.ping
    timestamp.now
    timestamp.diff
    timestamp.newer
    timestamp.older
    timestamp.format
    timestamp.fromISO
    pds.create
    pds.copy
    pds.delete
    pds.convert
    pds.putInt
    pds.putString
    pds.putDouble
    pds.putPDS
    pds.getInt
    pds.getDouble
    pds.getString
    pds.getPDS
    pds.putTable
    pds.getTableString
    pds.getTableInt
    pds.getTablePDS
    pds.size
    file.create
    file.delete
    file.read
    file.write
    file.copy
    file.rename
    file.stat
    file.checksum
    file.list
    net.gethostname
    net.iptoname
    net.nametoip
    net.ping
    net.connect
    snmp.create
    snmp.delete
    snmp.get
    snmp.set
    snmp.walk
    snmp.query
    snmp.getnumber
    snmp.getstring
    snmp.addvariable
    dll.load
    dll.call
    dll.icall
    dll.scall
    dll.free
    probe.register
    probe.unregister
    probe.addCallback
    probe.setloglevel
    probe.log
    probe.subscribe
    probe.attach
    probe.config
    probe.run
    probe.dispatch
    hubpost
    timeout
    restart
    stop

    [KEYWORDS4:GLOBAL]
    NSA_VERSION
    NSA_PID
    SCRIPT_NAME
    SCRIPT_ARGUMENT
    SCRIPT_FILE
    QOS_ASYNCH
    THREAD_ARGUMENT
    NIML_CLEAR
    NIML_INFORMATION
    NIML_WARNING
    NIML_MINOR
    NIML_MAJOR
    NIML_CRITICAL
    NIME_OK
    NIME_AGAIN
    NIME_ERROR
    NIME_COMERR
    NIME_INVAL
    NIME_NOENT
    NIME_ISENT
    NIME_ACCESS
    NIMSW_TIMEOUT
    NIMSW_MSG
    NIMSW_ERROR
    NIMSW_EXIT
    NIMSW_RESTART
    NIMSW_SHUTDOWN