# File lib/rcodetools/completion.rb, line 384 384: def completion_code(code, lineno, column=nil) 385: elisp = "(progn\n" 386: table = "(setq rct-method-completion-table `(" 387: 388: begin 389: klass, cands = candidates_with_class(code, lineno, column) 390: cands.sort.each do |minfo| 391: meth, description = split_method_info(minfo) 392: table << format('("%s\t[%s]" . ,(propertize "%s" \desc "%s")) ', 393: meth, description, meth, description) 394: end 395: table << "))\n" 396: rescue Exception => err 397: return error_code(err) 398: end 399: elisp << table 400: elisp << %[(setq pattern "#{prefix}")\n] 401: elisp << %[(setq klass "#{klass}")\n] 402: elisp << ")" # /progn 403: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.