c - tclreadline - insert-completions -


I am using tclreadline to complete my project, which is written in C / C ++ and TCL I had to modify some configurations to deal with Redline 6.2, but I managed it.

I have 3 problems:

  1. I like TCL interpreter like get_ports and get_modules .

    If I type get_por , then it correctly executes get_ports , but history says get_por .

    If I type get_por -of_objects [get_mod] , then it executes correctly get_ports -of_objects [get_modules] , but history says Is get_por -of_objects [get_mod] . So this order has not been expanded before adding it to history. How do I manage it?

  2. If I type [get_mod] of get_por, then it does not extend of in - Of_objects , because I check -of_objects inside the command and it does not appear. How do I manage the INSERT-COMPLETIONS readline method? Or alternatively, INSERT-ALL-COMPLETIONS

  3. If I type get_por-of TAB , there is an error in the ScriptCompleter in the tclreadline, which says that get_por is not a command, it should complete the command first, and then complete the option , Which is defined in proc complete (get_ports) .


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -