# File lib/rcodetools/completion.rb, line 71 def _handle_keywords(expr_orig, column) %w[if unless while until for].each do |keyw| pos = expr_orig.index(/\b#{keyw}\b/) @postfix << ";begin" if pos and pos < column # if * xxx pos = expr_orig.index(/;\s*#{keyw}\b/) @postfix << ";begin" if pos and column < pos # * ; if xxx end end