Просмотр исходного кода

- added all the TCL keywords in the completer keyword list

Marius Stanciu 6 лет назад
Родитель
Сommit
43f89397d7
2 измененных файлов с 313 добавлено и 2 удалено
  1. 312 1
      FlatCAMApp.py
  2. 1 1
      README.md

+ 312 - 1
FlatCAMApp.py

@@ -1500,7 +1500,318 @@ class App(QtCore.QObject):
                                   'angle_y', 'gridx', 'gridy', 'True', 'False'
                                   'angle_y', 'gridx', 'gridy', 'True', 'False'
                              ]
                              ]
 
 
-        self.myKeywords = self.tcl_commands_list + self.ordinary_keywords
+        self.tcl_keywords = [
+                                "abort", "absolute file name", "access", "access mode", "access point",
+                                "access position", "add", "AddErrInfo", "after", "alias", "Alloc", "allocation",
+                                "AllowExc", "alpha", "anonymous function", "API", "append", "AppInit", "application",
+                                "application-specific initialization", "apply", "architecture", "argc", "argument",
+                                "argv", "argv0", "arithmetic", "array", "assign", "AssocData", "association", "Async",
+                                "asynchronous event", "asynchronous I/O", "attemptckalloc", "attemptckrealloc",
+                                "attributes", "auto-exec", "auto-load", "auto-loading", "auto_execok", "auto_import",
+                                "auto_load", "auto_mkindex", "auto_path", "auto_qualify", "auto_reset", "BackgdErr",
+                                "background", "background error", "backslash", "backslash substitution", "base class",
+                                "beta", "bgerror", "binary", "binary code", "binary data", "binary library",
+                                "binary search", "bind", "blocking", "boolean", "BoolObj", "braces", "break", "buffer",
+                                "buffered I/O", "buffering", "byte array", "ByteArrObj", "bytecode", "call", "callback",
+                                "CallDel", "cancel", "carriage return", "case", "case conversion", "catch", "CConcat",
+                                "cd", "CEncoding", "CEval", "CExit", "chan", "channel", "channel closing",
+                                "channel driver", "channel registration", "channel type", "character", "child",
+                                "ChnlStack", "CInterp", "ckalloc", "ckfree", "ckrealloc", "class", "classification",
+                                "cleanup", "client", "clientData", "clock", "clone", "close", "CmdCmplt", "command",
+                                "command substitution", "command-line arguments", "commands", "comment", "compare",
+                                "compiler", "complete command", "compress", "compression", "concat", "concatenate",
+                                "condition variable", "conditional", "configuration", "connection", "constructor",
+                                "context", "continue", "conversion", "conversion specifier", "convert", "copy",
+                                "copy files", "coroutine", "cpu architecture", "create", "CRegExp", "CrtChannel",
+                                "CrtChnlHdlr", "CrtCloseHdlr", "CrtCommand", "CrtFileHdlr", "CrtInterp", "CrtMathFnc",
+                                "CrtObjCmd", "CrtSlave", "CrtTimerHdlr", "CrtTrace", "ctype", "CUpVar",
+                                "current directory", "data", "date", "dde", "debug", "decompress", "defer", "define",
+                                "definition", "deflate", "delay", "delete", "delete files", "deletion procedure",
+                                "detach", "DetachPids", "dict", "dict value", "dictionary", "dictionary value",
+                                "DictObj", "directory", "domain name", "DoOneEvent", "double", "double type",
+                                "double value", "double-precision", "DoubleObj", "DoWhenIdle", "DString",
+                                "DumpActiveMemory", "duplication", "dynamic library", "dynamic loading",
+                                "dynamic string", "element", "element names", "else", "embedding", "encoding",
+                                "end application", "end of file", "end of line", "ensemble", "env", "environment",
+                                "eof", "equal", "errno", "error", "error code", "error message", "error messages",
+                                "errorCode", "errorInfo", "eval", "evaluate", "event", "event handler", "event queue",
+                                "event sources", "events", "exception", "exec", "executable file", "execute", "exist",
+                                "exit", "exported", "exposed commands", "expr", "expression", "ExprLong", "ExprLongObj",
+                                "fatal", "fblocked", "fconfigure", "fcopy", "file", "file events", "file handle",
+                                "file name", "fileevent", "filename", "FileSystem", "filter", "final", "FindExec",
+                                "floating-point", "flush", "flushing", "for", "foreach", "format", "frame", "free",
+                                "fuzzy comparison", "generator", "get variable", "GetCwd", "GetHostName", "GetIndex",
+                                "GetInt", "GetOpnFl", "gets", "GetStdChan", "GetTime", "GetVersion", "glob", "global",
+                                "global variables", "gzip", "half-close", "handler", "Hash", "hash table",
+                                "hidden commands", "history", "home directory", "host", "hostname", "http", "i18n",
+                                "idle", "idle callback", "if", "incr", "increment", "index", "inflate", "info",
+                                "information", "Init", "initialization", "initialization procedure", "initialized",
+                                "InitStubs", "input", "insert", "integer", "integer type", "integer value", "internal",
+                                "internal representation", "internationalization", "internet", "interp", "interpreter",
+                                "IntObj", "introspection", "invoke", "iterate", "iteration", "join", "key", "l10n",
+                                "lambda", "lappend", "lassign", "length", "level", "library", "Limit", "lindex", "line",
+                                "linear search", "linemode", "link", "linked variable", "LinkVar", "linsert", "list",
+                                "list type", "list value", "ListObj", "llength", "load", "localization", "lookup",
+                                "loop", "lrange", "lrepeat", "lreplace", "lreverse", "lsearch", "lset", "lsort",
+                                "main program", "major", "malloc", "map", "master", "master interpreter", "match",
+                                "mathematical function", "mathfunc", "mathop", "memory", "merge", "message",
+                                "metaclass", "method", "method chain", "method visibility", "minor", "modules",
+                                "move files", "msgcat", "multiple", "mutex", "my", "name", "namespace", "nesting depth",
+                                "network address", "newline", "next", "nextto", "non-blocking", "non-existent command",
+                                "nonblocking", "nonblocking.", "nonrecursive", "Notifier", "NRE", "object",
+                                "ObjectType", "offset", "oo::class", "oo::copy", "oo::define", "oo::objdefine",
+                                "oo::object", "open", "OpenFileChnl", "OpenTcp", "operating system", "operator",
+                                "option", "order", "output", "package", "packagens", "Panic", "parray", "parse",
+                                "ParseArgs", "ParseCmd", "parsing", "partial command", "patchlevel", "path", "pattern",
+                                "permissions", "pid", "pipeline", "pkg::create", "pkg_mkIndex", "pkgMkIndex",
+                                "PkgRequire", "platform", "platform::shell", "platform_shell", "portability", "POSIX",
+                                "precision", "prefix", "present", "Preserve", "PrintDbl", "private method", "proc",
+                                "procedure", "process", "process identifier", "prompt", "provide", "public method",
+                                "puts", "pwd", "quoting", "range", "rc file", "re_sorry", "re_syntax", "read",
+                                "read-only", "readable", "real", "realloc", "RecEvalObj", "record", "RecordEval",
+                                "recursion", "redirection", "refchan", "reference count", "reference counting",
+                                "reflection", "RegConfig", "regexp", "registry", "regsub", "regular expression",
+                                "relative file name", "release", "remote execution", "remove", "rename", "rename files",
+                                "replace", "reporting", "require", "resource", "resource management", "result",
+                                "return", "return value", "reverse", "root class", "safe", "safe interpreter",
+                                "safe interpreter", "SaveResult", "scalar", "scan", "script", "script file", "search",
+                                "security policy", "seek", "seeking", "self", "separator", "serial", "server",
+                                "service mode", "set", "SetChanErr", "SetErrno", "SetRecLmt", "SetResult", "SetVar",
+                                "shared library", "shell", "signal", "signal numbers", "signals", "slave",
+                                "slave interpreter", "sleep", "slot", "socket", "sort", "source", "SourceRCFile",
+                                "split", "SplitList", "SplitPath", "splitting", "sprintf", "stack", "stack frame",
+                                "stackless", "standard channel", "standard channels", "standard error",
+                                "standard input", "standard output", "stat", "state", "static linking", "StaticPkg",
+                                "StdChannels", "storage", "string", "string representation", "string type",
+                                "string value", "StringObj", "strings", "StrMatch", "stubs", "subexpression", "sublist",
+                                "subprocess", "subst", "substitution", "SubstObj", "switch", "table lookup",
+                                "tail recursion", "tailcall", "Tcl", "tcl::prefix", "Tcl_Access", "Tcl_AddErrorInfo",
+                                "Tcl_AddObjErrorInfo", "Tcl_AlertNotifier", "Tcl_Alloc", "Tcl_AllocHashEntryProc",
+                                "Tcl_AllocStatBuf", "Tcl_AllowExceptions", "Tcl_AppendAllObjTypes", "Tcl_AppendElement",
+                                "Tcl_AppendExportList", "Tcl_AppendFormatToObj", "Tcl_AppendLimitedToObj",
+                                "Tcl_AppendObjToErrorInfo", "Tcl_AppendObjToObj", "Tcl_AppendPrintfToObj",
+                                "Tcl_AppendResult", "Tcl_AppendResultVA", "Tcl_AppendStringsToObj",
+                                "Tcl_AppendStringsToObjVA", "Tcl_AppendToObj", "Tcl_AppendUnicodeToObj", "Tcl_AppInit",
+                                "Tcl_AppInitProc", "Tcl_ArgvInfo", "Tcl_AsyncCreate", "Tcl_AsyncDelete",
+                                "Tcl_AsyncInvoke", "Tcl_AsyncMark", "Tcl_AsyncProc", "Tcl_AsyncReady",
+                                "Tcl_AttemptAlloc", "Tcl_AttemptRealloc", "Tcl_AttemptSetObjLength",
+                                "Tcl_BackgroundError", "Tcl_BackgroundException", "Tcl_Backslash",
+                                "Tcl_BadChannelOption", "Tcl_CallWhenDeleted", "Tcl_Canceled", "Tcl_CancelEval",
+                                "Tcl_CancelIdleCall", "Tcl_ChannelBlockModeProc", "Tcl_ChannelBuffered",
+                                "Tcl_ChannelClose2Proc", "Tcl_ChannelCloseProc", "Tcl_ChannelFlushProc",
+                                "Tcl_ChannelGetHandleProc", "Tcl_ChannelGetOptionProc", "Tcl_ChannelHandlerProc",
+                                "Tcl_ChannelInputProc", "Tcl_ChannelName", "Tcl_ChannelOutputProc", "Tcl_ChannelProc",
+                                "Tcl_ChannelSeekProc", "Tcl_ChannelSetOptionProc", "Tcl_ChannelThreadActionProc",
+                                "Tcl_ChannelTruncateProc", "Tcl_ChannelType", "Tcl_ChannelVersion",
+                                "Tcl_ChannelWatchProc", "Tcl_ChannelWideSeekProc", "Tcl_Chdir", "Tcl_ClassGetMetadata",
+                                "Tcl_ClassSetConstructor", "Tcl_ClassSetDestructor", "Tcl_ClassSetMetadata",
+                                "Tcl_ClearChannelHandlers", "Tcl_CloneProc", "Tcl_Close", "Tcl_CloseProc",
+                                "Tcl_CmdDeleteProc", "Tcl_CmdInfo", "Tcl_CmdObjTraceDeleteProc", "Tcl_CmdObjTraceProc",
+                                "Tcl_CmdProc", "Tcl_CmdTraceProc", "Tcl_CommandComplete", "Tcl_CommandTraceInfo",
+                                "Tcl_CommandTraceProc", "Tcl_CompareHashKeysProc", "Tcl_Concat", "Tcl_ConcatObj",
+                                "Tcl_ConditionFinalize", "Tcl_ConditionNotify", "Tcl_ConditionWait", "Tcl_Config",
+                                "Tcl_ConvertCountedElement", "Tcl_ConvertElement", "Tcl_ConvertToType",
+                                "Tcl_CopyObjectInstance", "Tcl_CreateAlias", "Tcl_CreateAliasObj", "Tcl_CreateChannel",
+                                "Tcl_CreateChannelHandler", "Tcl_CreateCloseHandler", "Tcl_CreateCommand",
+                                "Tcl_CreateEncoding", "Tcl_CreateEnsemble", "Tcl_CreateEventSource",
+                                "Tcl_CreateExitHandler", "Tcl_CreateFileHandler", "Tcl_CreateHashEntry",
+                                "Tcl_CreateInterp", "Tcl_CreateMathFunc", "Tcl_CreateNamespace", "Tcl_CreateObjCommand",
+                                "Tcl_CreateObjTrace", "Tcl_CreateSlave", "Tcl_CreateThread",
+                                "Tcl_CreateThreadExitHandler", "Tcl_CreateTimerHandler", "Tcl_CreateTrace",
+                                "Tcl_CutChannel", "Tcl_DecrRefCount", "Tcl_DeleteAssocData", "Tcl_DeleteChannelHandler",
+                                "Tcl_DeleteCloseHandler", "Tcl_DeleteCommand", "Tcl_DeleteCommandFromToken",
+                                "Tcl_DeleteEvents", "Tcl_DeleteEventSource", "Tcl_DeleteExitHandler",
+                                "Tcl_DeleteFileHandler", "Tcl_DeleteHashEntry", "Tcl_DeleteHashTable",
+                                "Tcl_DeleteInterp", "Tcl_DeleteNamespace", "Tcl_DeleteThreadExitHandler",
+                                "Tcl_DeleteTimerHandler", "Tcl_DeleteTrace", "Tcl_DetachChannel", "Tcl_DetachPids",
+                                "Tcl_DictObjDone", "Tcl_DictObjFirst", "Tcl_DictObjGet", "Tcl_DictObjNext",
+                                "Tcl_DictObjPut", "Tcl_DictObjPutKeyList", "Tcl_DictObjRemove",
+                                "Tcl_DictObjRemoveKeyList", "Tcl_DictObjSize", "Tcl_DiscardInterpState",
+                                "Tcl_DiscardResult", "Tcl_DontCallWhenDeleted", "Tcl_DoOneEvent", "Tcl_DoWhenIdle",
+                                "Tcl_DriverBlockModeProc", "Tcl_DriverClose2Proc", "Tcl_DriverCloseProc",
+                                "Tcl_DriverFlushProc", "Tcl_DriverGetHandleProc", "Tcl_DriverGetOptionProc",
+                                "Tcl_DriverHandlerProc", "Tcl_DriverInputProc", "Tcl_DriverOutputProc",
+                                "Tcl_DriverSeekProc", "Tcl_DriverSetOptionProc", "Tcl_DriverThreadActionProc",
+                                "Tcl_DriverTruncateProc", "Tcl_DriverWatchProc", "Tcl_DriverWideSeekProc",
+                                "Tcl_DStringAppend", "Tcl_DStringAppendElement", "Tcl_DStringEndSublist",
+                                "Tcl_DStringFree", "Tcl_DStringGetResult", "Tcl_DStringInit", "Tcl_DStringLength",
+                                "Tcl_DStringResult", "Tcl_DStringSetLength", "Tcl_DStringStartSublist",
+                                "Tcl_DStringTrunc", "Tcl_DStringValue", "Tcl_DumpActiveMemory",
+                                "Tcl_DupInternalRepProc", "Tcl_DuplicateObj", "Tcl_EncodingConvertProc",
+                                "Tcl_EncodingFreeProc", "Tcl_EncodingType", "tcl_endOfWord", "Tcl_Eof", "Tcl_ErrnoId",
+                                "Tcl_ErrnoMsg", "Tcl_Eval", "Tcl_EvalEx", "Tcl_EvalFile", "Tcl_EvalObjEx",
+                                "Tcl_EvalObjv", "Tcl_EvalTokens", "Tcl_EvalTokensStandard", "Tcl_Event",
+                                "Tcl_EventCheckProc", "Tcl_EventDeleteProc", "Tcl_EventProc", "Tcl_EventSetupProc",
+                                "Tcl_EventuallyFree", "Tcl_Exit", "Tcl_ExitProc", "Tcl_ExitThread", "Tcl_Export",
+                                "Tcl_ExposeCommand", "Tcl_ExprBoolean", "Tcl_ExprBooleanObj", "Tcl_ExprDouble",
+                                "Tcl_ExprDoubleObj", "Tcl_ExprLong", "Tcl_ExprLongObj", "Tcl_ExprObj", "Tcl_ExprString",
+                                "Tcl_ExternalToUtf", "Tcl_ExternalToUtfDString", "Tcl_FileProc", "Tcl_Filesystem",
+                                "Tcl_Finalize", "Tcl_FinalizeNotifier", "Tcl_FinalizeThread", "Tcl_FindCommand",
+                                "Tcl_FindEnsemble", "Tcl_FindExecutable", "Tcl_FindHashEntry", "tcl_findLibrary",
+                                "Tcl_FindNamespace", "Tcl_FirstHashEntry", "Tcl_Flush", "Tcl_ForgetImport",
+                                "Tcl_Format", "Tcl_Free", "Tcl_FreeEncoding", "Tcl_FreeHashEntryProc",
+                                "Tcl_FreeInternalRepProc", "Tcl_FreeParse", "Tcl_FreeProc", "Tcl_FreeResult",
+                                "Tcl_FSAccess", "Tcl_FSAccessProc", "Tcl_FSChdir", "Tcl_FSChdirProc",
+                                "Tcl_FSConvertToPathType", "Tcl_FSCopyDirectory", "Tcl_FSCopyDirectoryProc",
+                                "Tcl_FSCopyFile", "Tcl_FSCopyFileProc", "Tcl_FSCreateDirectory",
+                                "Tcl_FSCreateDirectoryProc", "Tcl_FSCreateInternalRepProc", "Tcl_FSData",
+                                "Tcl_FSDeleteFile", "Tcl_FSDeleteFileProc", "Tcl_FSDupInternalRepProc",
+                                "Tcl_FSEqualPaths", "Tcl_FSEvalFile", "Tcl_FSEvalFileEx", "Tcl_FSFileAttrsGet",
+                                "Tcl_FSFileAttrsGetProc", "Tcl_FSFileAttrsSet", "Tcl_FSFileAttrsSetProc",
+                                "Tcl_FSFileAttrStrings", "Tcl_FSFileSystemInfo", "Tcl_FSFilesystemPathTypeProc",
+                                "Tcl_FSFilesystemSeparatorProc", "Tcl_FSFreeInternalRepProc", "Tcl_FSGetCwd",
+                                "Tcl_FSGetCwdProc", "Tcl_FSGetFileSystemForPath", "Tcl_FSGetInternalRep",
+                                "Tcl_FSGetNativePath", "Tcl_FSGetNormalizedPath", "Tcl_FSGetPathType",
+                                "Tcl_FSGetTranslatedPath", "Tcl_FSGetTranslatedStringPath",
+                                "Tcl_FSInternalToNormalizedProc", "Tcl_FSJoinPath", "Tcl_FSJoinToPath", "Tcl_FSLink",
+                                "Tcl_FSLinkProc", "Tcl_FSListVolumes", "Tcl_FSListVolumesProc", "Tcl_FSLoadFile",
+                                "Tcl_FSLoadFileProc", "Tcl_FSLstat", "Tcl_FSLstatProc", "Tcl_FSMatchInDirectory",
+                                "Tcl_FSMatchInDirectoryProc", "Tcl_FSMountsChanged", "Tcl_FSNewNativePath",
+                                "Tcl_FSNormalizePathProc", "Tcl_FSOpenFileChannel", "Tcl_FSOpenFileChannelProc",
+                                "Tcl_FSPathInFilesystemProc", "Tcl_FSPathSeparator", "Tcl_FSRegister",
+                                "Tcl_FSRemoveDirectory", "Tcl_FSRemoveDirectoryProc", "Tcl_FSRenameFile",
+                                "Tcl_FSRenameFileProc", "Tcl_FSSplitPath", "Tcl_FSStat", "Tcl_FSStatProc",
+                                "Tcl_FSUnloadFile", "Tcl_FSUnloadFileProc", "Tcl_FSUnregister", "Tcl_FSUtime",
+                                "Tcl_FSUtimeProc", "Tcl_GetAccessTimeFromStat", "Tcl_GetAlias", "Tcl_GetAliasObj",
+                                "Tcl_GetAssocData", "Tcl_GetBignumFromObj", "Tcl_GetBlocksFromStat",
+                                "Tcl_GetBlockSizeFromStat", "Tcl_GetBoolean", "Tcl_GetBooleanFromObj",
+                                "Tcl_GetByteArrayFromObj", "Tcl_GetChangeTimeFromStat", "Tcl_GetChannel",
+                                "Tcl_GetChannelBufferSize", "Tcl_GetChannelError", "Tcl_GetChannelErrorInterp",
+                                "Tcl_GetChannelHandle", "Tcl_GetChannelInstanceData", "Tcl_GetChannelMode",
+                                "Tcl_GetChannelName", "Tcl_GetChannelNames", "Tcl_GetChannelNamesEx",
+                                "Tcl_GetChannelOption", "Tcl_GetChannelThread", "Tcl_GetChannelType",
+                                "Tcl_GetCharLength", "Tcl_GetClassAsObject", "Tcl_GetCommandFromObj",
+                                "Tcl_GetCommandFullName", "Tcl_GetCommandInfo", "Tcl_GetCommandInfoFromToken",
+                                "Tcl_GetCommandName", "Tcl_GetCurrentNamespace", "Tcl_GetCurrentThread", "Tcl_GetCwd",
+                                "Tcl_GetDefaultEncodingDir", "Tcl_GetDeviceTypeFromStat", "Tcl_GetDouble",
+                                "Tcl_GetDoubleFromObj", "Tcl_GetEncoding", "Tcl_GetEncodingFromObj",
+                                "Tcl_GetEncodingName", "Tcl_GetEncodingNameFromEnvironment", "Tcl_GetEncodingNames",
+                                "Tcl_GetEncodingSearchPath", "Tcl_GetEnsembleFlags", "Tcl_GetEnsembleMappingDict",
+                                "Tcl_GetEnsembleNamespace", "Tcl_GetEnsembleParameterList",
+                                "Tcl_GetEnsembleSubcommandList", "Tcl_GetEnsembleUnknownHandler", "Tcl_GetErrno",
+                                "Tcl_GetErrorLine", "Tcl_GetFSDeviceFromStat", "Tcl_GetFSInodeFromStat",
+                                "Tcl_GetGlobalNamespace", "Tcl_GetGroupIdFromStat", "Tcl_GetHashKey",
+                                "Tcl_GetHashValue", "Tcl_GetHostName", "Tcl_GetIndexFromObj",
+                                "Tcl_GetIndexFromObjStruct", "Tcl_GetInt", "Tcl_GetInterpPath", "Tcl_GetIntFromObj",
+                                "Tcl_GetLinkCountFromStat", "Tcl_GetLongFromObj", "Tcl_GetMaster",
+                                "Tcl_GetMathFuncInfo", "Tcl_GetModeFromStat", "Tcl_GetModificationTimeFromStat",
+                                "Tcl_GetNameOfExecutable", "Tcl_GetNamespaceUnknownHandler", "Tcl_GetObjectAsClass",
+                                "Tcl_GetObjectCommand", "Tcl_GetObjectFromObj", "Tcl_GetObjectName",
+                                "Tcl_GetObjectNamespace", "Tcl_GetObjResult", "Tcl_GetObjType", "Tcl_GetOpenFile",
+                                "Tcl_GetPathType", "Tcl_GetRange", "Tcl_GetRegExpFromObj", "Tcl_GetReturnOptions",
+                                "Tcl_Gets", "Tcl_GetServiceMode", "Tcl_GetSizeFromStat", "Tcl_GetSlave", "Tcl_GetsObj",
+                                "Tcl_GetStackedChannel", "Tcl_GetStartupScript", "Tcl_GetStdChannel", "Tcl_GetString",
+                                "Tcl_GetStringFromObj", "Tcl_GetStringResult", "Tcl_GetThreadData", "Tcl_GetTime",
+                                "Tcl_GetTopChannel", "Tcl_GetUniChar", "Tcl_GetUnicode", "Tcl_GetUnicodeFromObj",
+                                "Tcl_GetUserIdFromStat", "Tcl_GetVar", "Tcl_GetVar2", "Tcl_GetVar2Ex", "Tcl_GetVersion",
+                                "Tcl_GetWideIntFromObj", "Tcl_GlobalEval", "Tcl_GlobalEvalObj", "Tcl_GlobTypeData",
+                                "Tcl_HashKeyType", "Tcl_HashStats", "Tcl_HideCommand", "Tcl_IdleProc", "Tcl_Import",
+                                "Tcl_IncrRefCount", "Tcl_Init", "Tcl_InitCustomHashTable", "Tcl_InitHashTable",
+                                "Tcl_InitMemory", "Tcl_InitNotifier", "Tcl_InitObjHashTable", "Tcl_InitStubs",
+                                "Tcl_InputBlocked", "Tcl_InputBuffered", "tcl_interactive", "Tcl_Interp",
+                                "Tcl_InterpActive", "Tcl_InterpDeleted", "Tcl_InterpDeleteProc",
+                                "Tcl_InvalidateStringRep", "Tcl_IsChannelExisting", "Tcl_IsChannelRegistered",
+                                "Tcl_IsChannelShared", "Tcl_IsEnsemble", "Tcl_IsSafe", "Tcl_IsShared",
+                                "Tcl_IsStandardChannel", "Tcl_JoinPath", "Tcl_JoinThread", "tcl_library",
+                                "Tcl_LimitAddHandler", "Tcl_LimitCheck", "Tcl_LimitExceeded", "Tcl_LimitGetCommands",
+                                "Tcl_LimitGetGranularity", "Tcl_LimitGetTime", "Tcl_LimitHandlerDeleteProc",
+                                "Tcl_LimitHandlerProc", "Tcl_LimitReady", "Tcl_LimitRemoveHandler",
+                                "Tcl_LimitSetCommands", "Tcl_LimitSetGranularity", "Tcl_LimitSetTime",
+                                "Tcl_LimitTypeEnabled", "Tcl_LimitTypeExceeded", "Tcl_LimitTypeReset",
+                                "Tcl_LimitTypeSet", "Tcl_LinkVar", "Tcl_ListMathFuncs", "Tcl_ListObjAppendElement",
+                                "Tcl_ListObjAppendList", "Tcl_ListObjGetElements", "Tcl_ListObjIndex",
+                                "Tcl_ListObjLength", "Tcl_ListObjReplace", "Tcl_LogCommandInfo", "Tcl_Main",
+                                "Tcl_MainLoopProc", "Tcl_MakeFileChannel", "Tcl_MakeSafe", "Tcl_MakeTcpClientChannel",
+                                "Tcl_MathProc", "TCL_MEM_DEBUG", "Tcl_Merge", "Tcl_MethodCallProc",
+                                "Tcl_MethodDeclarerClass", "Tcl_MethodDeclarerObject", "Tcl_MethodDeleteProc",
+                                "Tcl_MethodIsPublic", "Tcl_MethodIsType", "Tcl_MethodName", "Tcl_MethodType",
+                                "Tcl_MutexFinalize", "Tcl_MutexLock", "Tcl_MutexUnlock", "Tcl_NamespaceDeleteProc",
+                                "Tcl_NewBignumObj", "Tcl_NewBooleanObj", "Tcl_NewByteArrayObj", "Tcl_NewDictObj",
+                                "Tcl_NewDoubleObj", "Tcl_NewInstanceMethod", "Tcl_NewIntObj", "Tcl_NewListObj",
+                                "Tcl_NewLongObj", "Tcl_NewMethod", "Tcl_NewObj", "Tcl_NewObjectInstance",
+                                "Tcl_NewStringObj", "Tcl_NewUnicodeObj", "Tcl_NewWideIntObj", "Tcl_NextHashEntry",
+                                "tcl_nonwordchars", "Tcl_NotifierProcs", "Tcl_NotifyChannel", "Tcl_NRAddCallback",
+                                "Tcl_NRCallObjProc", "Tcl_NRCmdSwap", "Tcl_NRCreateCommand", "Tcl_NREvalObj",
+                                "Tcl_NREvalObjv", "Tcl_NumUtfChars", "Tcl_Obj", "Tcl_ObjCmdProc",
+                                "Tcl_ObjectContextInvokeNext", "Tcl_ObjectContextIsFiltering",
+                                "Tcl_ObjectContextMethod", "Tcl_ObjectContextObject", "Tcl_ObjectContextSkippedArgs",
+                                "Tcl_ObjectDeleted", "Tcl_ObjectGetMetadata", "Tcl_ObjectGetMethodNameMapper",
+                                "Tcl_ObjectMapMethodNameProc", "Tcl_ObjectMetadataDeleteProc", "Tcl_ObjectSetMetadata",
+                                "Tcl_ObjectSetMethodNameMapper", "Tcl_ObjGetVar2", "Tcl_ObjPrintf", "Tcl_ObjSetVar2",
+                                "Tcl_ObjType", "Tcl_OpenCommandChannel", "Tcl_OpenFileChannel", "Tcl_OpenTcpClient",
+                                "Tcl_OpenTcpServer", "Tcl_OutputBuffered", "Tcl_PackageInitProc",
+                                "Tcl_PackageUnloadProc", "Tcl_Panic", "Tcl_PanicProc", "Tcl_PanicVA",
+                                "Tcl_ParseArgsObjv", "Tcl_ParseBraces", "Tcl_ParseCommand", "Tcl_ParseExpr",
+                                "Tcl_ParseQuotedString", "Tcl_ParseVar", "Tcl_ParseVarName", "tcl_patchLevel",
+                                "tcl_pkgPath", "Tcl_PkgPresent", "Tcl_PkgPresentEx", "Tcl_PkgProvide",
+                                "Tcl_PkgProvideEx", "Tcl_PkgRequire", "Tcl_PkgRequireEx", "Tcl_PkgRequireProc",
+                                "tcl_platform", "Tcl_PosixError", "tcl_precision", "Tcl_Preserve", "Tcl_PrintDouble",
+                                "Tcl_PutEnv", "Tcl_QueryTimeProc", "Tcl_QueueEvent", "tcl_rcFileName", "Tcl_Read",
+                                "Tcl_ReadChars", "Tcl_ReadRaw", "Tcl_Realloc", "Tcl_ReapDetachedProcs",
+                                "Tcl_RecordAndEval", "Tcl_RecordAndEvalObj", "Tcl_RegExpCompile", "Tcl_RegExpExec",
+                                "Tcl_RegExpExecObj", "Tcl_RegExpGetInfo", "Tcl_RegExpIndices", "Tcl_RegExpInfo",
+                                "Tcl_RegExpMatch", "Tcl_RegExpMatchObj", "Tcl_RegExpRange", "Tcl_RegisterChannel",
+                                "Tcl_RegisterConfig", "Tcl_RegisterObjType", "Tcl_Release", "Tcl_ResetResult",
+                                "Tcl_RestoreInterpState", "Tcl_RestoreResult", "Tcl_SaveInterpState", "Tcl_SaveResult",
+                                "Tcl_ScaleTimeProc", "Tcl_ScanCountedElement", "Tcl_ScanElement", "Tcl_Seek",
+                                "Tcl_ServiceAll", "Tcl_ServiceEvent", "Tcl_ServiceModeHook", "Tcl_SetAssocData",
+                                "Tcl_SetBignumObj", "Tcl_SetBooleanObj", "Tcl_SetByteArrayLength",
+                                "Tcl_SetByteArrayObj", "Tcl_SetChannelBufferSize", "Tcl_SetChannelError",
+                                "Tcl_SetChannelErrorInterp", "Tcl_SetChannelOption", "Tcl_SetCommandInfo",
+                                "Tcl_SetCommandInfoFromToken", "Tcl_SetDefaultEncodingDir", "Tcl_SetDoubleObj",
+                                "Tcl_SetEncodingSearchPath", "Tcl_SetEnsembleFlags", "Tcl_SetEnsembleMappingDict",
+                                "Tcl_SetEnsembleParameterList", "Tcl_SetEnsembleSubcommandList",
+                                "Tcl_SetEnsembleUnknownHandler", "Tcl_SetErrno", "Tcl_SetErrorCode",
+                                "Tcl_SetErrorCodeVA", "Tcl_SetErrorLine", "Tcl_SetExitProc", "Tcl_SetFromAnyProc",
+                                "Tcl_SetHashValue", "Tcl_SetIntObj", "Tcl_SetListObj", "Tcl_SetLongObj",
+                                "Tcl_SetMainLoop", "Tcl_SetMaxBlockTime", "Tcl_SetNamespaceUnknownHandler",
+                                "Tcl_SetNotifier", "Tcl_SetObjErrorCode", "Tcl_SetObjLength", "Tcl_SetObjResult",
+                                "Tcl_SetPanicProc", "Tcl_SetRecursionLimit", "Tcl_SetResult", "Tcl_SetReturnOptions",
+                                "Tcl_SetServiceMode", "Tcl_SetStartupScript", "Tcl_SetStdChannel", "Tcl_SetStringObj",
+                                "Tcl_SetSystemEncoding", "Tcl_SetTimeProc", "Tcl_SetTimer", "Tcl_SetUnicodeObj",
+                                "Tcl_SetVar", "Tcl_SetVar2", "Tcl_SetVar2Ex", "Tcl_SetWideIntObj", "Tcl_SignalId",
+                                "Tcl_SignalMsg", "Tcl_Sleep", "Tcl_SourceRCFile", "Tcl_SpliceChannel", "Tcl_SplitList",
+                                "Tcl_SplitPath", "Tcl_StackChannel", "Tcl_StandardChannels", "tcl_startOfNextWord",
+                                "tcl_startOfPreviousWord", "Tcl_Stat", "Tcl_StaticPackage", "Tcl_StringCaseMatch",
+                                "Tcl_StringMatch", "Tcl_SubstObj", "Tcl_TakeBignumFromObj", "Tcl_TcpAcceptProc",
+                                "Tcl_Tell", "Tcl_ThreadAlert", "Tcl_ThreadQueueEvent", "Tcl_Time", "Tcl_TimerProc",
+                                "Tcl_Token", "Tcl_TraceCommand", "tcl_traceCompile", "tcl_traceEval", "tcl_traceExec",
+                                "Tcl_TraceVar", "Tcl_TraceVar2", "Tcl_TransferResult", "Tcl_TranslateFileName",
+                                "Tcl_TruncateChannel", "Tcl_Ungets", "Tcl_UniChar", "Tcl_UniCharAtIndex",
+                                "Tcl_UniCharCaseMatch", "Tcl_UniCharIsAlnum", "Tcl_UniCharIsAlpha",
+                                "Tcl_UniCharIsControl", "Tcl_UniCharIsDigit", "Tcl_UniCharIsGraph",
+                                "Tcl_UniCharIsLower", "Tcl_UniCharIsPrint", "Tcl_UniCharIsPunct", "Tcl_UniCharIsSpace",
+                                "Tcl_UniCharIsUpper", "Tcl_UniCharIsWordChar", "Tcl_UniCharLen", "Tcl_UniCharNcasecmp",
+                                "Tcl_UniCharNcmp", "Tcl_UniCharToLower", "Tcl_UniCharToTitle", "Tcl_UniCharToUpper",
+                                "Tcl_UniCharToUtf", "Tcl_UniCharToUtfDString", "Tcl_UnlinkVar", "Tcl_UnregisterChannel",
+                                "Tcl_UnsetVar", "Tcl_UnsetVar2", "Tcl_UnstackChannel", "Tcl_UntraceCommand",
+                                "Tcl_UntraceVar", "Tcl_UntraceVar2", "Tcl_UpdateLinkedVar", "Tcl_UpdateStringProc",
+                                "Tcl_UpVar", "Tcl_UpVar2", "Tcl_UtfAtIndex", "Tcl_UtfBackslash", "Tcl_UtfCharComplete",
+                                "Tcl_UtfFindFirst", "Tcl_UtfFindLast", "Tcl_UtfNext", "Tcl_UtfPrev",
+                                "Tcl_UtfToExternal", "Tcl_UtfToExternalDString", "Tcl_UtfToLower", "Tcl_UtfToTitle",
+                                "Tcl_UtfToUniChar", "Tcl_UtfToUniCharDString", "Tcl_UtfToUpper",
+                                "Tcl_ValidateAllMemory", "Tcl_Value", "Tcl_VarEval", "Tcl_VarEvalVA",
+                                "Tcl_VarTraceInfo", "Tcl_VarTraceInfo2", "Tcl_VarTraceProc", "tcl_version",
+                                "Tcl_WaitForEvent", "Tcl_WaitPid", "Tcl_WinTCharToUtf", "Tcl_WinUtfToTChar",
+                                "tcl_wordBreakAfter", "tcl_wordBreakBefore", "tcl_wordchars", "Tcl_Write",
+                                "Tcl_WriteChars", "Tcl_WriteObj", "Tcl_WriteRaw", "Tcl_WrongNumArgs", "Tcl_ZlibAdler32",
+                                "Tcl_ZlibCRC32", "Tcl_ZlibDeflate", "Tcl_ZlibInflate", "Tcl_ZlibStreamChecksum",
+                                "Tcl_ZlibStreamClose", "Tcl_ZlibStreamEof", "Tcl_ZlibStreamGet",
+                                "Tcl_ZlibStreamGetCommandName", "Tcl_ZlibStreamInit", "Tcl_ZlibStreamPut", "tclsh",
+                                "tcltest", "tclvars", "TclZlib", "tcp", "tell", "test", "test harness", "test suite",
+                                "text", "thread", "thread local storage", "threads", "throw", "tilde", "time", "timer",
+                                "tm", "token", "tolower", "totitle", "ToUpper", "trace", "TraceCmd", "TraceVar",
+                                "transchan", "transformation", "Translate", "translation", "try", "type",
+                                "type conversion", "UniCharIsAlpha", "unicode", "unknown", "unload", "unloading",
+                                "unset", "unwind", "update", "uplevel", "upvar", "user", "utf", "value",
+                                "value creation", "value result", "value type", "variable", "variable substitution",
+                                "variables", "version", "vfs", "virtual filesystem", "volume-relative file name",
+                                "vwait", "wait", "while", "whitespace", "word", "working directory", "writable.",
+                                "write", "wrong number of arguments", "WrongNumArgs", "www", "yield", "yieldto",
+                                "zlib"
+        ]
+
+        self.myKeywords = self.tcl_commands_list + self.ordinary_keywords + self.tcl_keywords
 
 
         self.shell = FCShell(self, version=self.version)
         self.shell = FCShell(self, version=self.version)
         self.shell._edit.set_model_data(self.myKeywords)
         self.shell._edit.set_model_data(self.myKeywords)

+ 1 - 1
README.md

@@ -12,7 +12,7 @@ CAD program, and create G-Code for Isolation routing.
 25.03.2019
 25.03.2019
 
 
 - in the TCL completer if the word is already complete don't add it again but add a space
 - in the TCL completer if the word is already complete don't add it again but add a space
-
+- added all the TCL keywords in the completer keyword list
 
 
 22.03.2019
 22.03.2019