sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Kramdown::Utils::StringScanner#pos=
Sets the byte position of the scan pointer. Note: This also resets some internal variables, so always use pos= when setting the position and don't use any other method for that!
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/utils/string_scanner.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Kramdown--Utils--StringScanner-pos--for-pr
# Commit to gitgit add app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/utils/string_scanner.rbgit commit -m "better docs for Kramdown::Utils::StringScanner#pos="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Kramdown--Utils--StringScanner-pos--for-pr
hub pull-request
# Celebrate!