1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc: Update to RDoc master a1195ce. Changes include:

Improved accessibility of the main sidebar navigation.

  Fixed handling of regexp options in HTML source highlighting.

* test/rdoc:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-11-19 00:47:33 +00:00
parent a7fa4d5d9a
commit cc46b530b0
11 changed files with 52 additions and 29 deletions

View file

@ -535,8 +535,8 @@ class RDoc::Markup::Parser
end
##
# Calculates the column (by character) and line of the current token from
# +scanner+ based on +byte_offset+.
# Calculates the column (by character) and line of the current token based
# on +byte_offset+.
def token_pos byte_offset
offset = char_pos byte_offset