* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Improve
performance. Instead of recalculating indentation fully for each line, sum up indentation depth based only on visited lines. (ruby-parse-partial): Increase the depth after "do" even when END is right after it. (ruby-parse-partial): When END is in the middle of a percent literal, increase the depth if the delimiter chars belong to the paren syntax class. * test/automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): New test.
Showing with 55 additions and 10 deletions