-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120484 <rdar://problem/13877085> REGRESSION: Alt-up and Alt-down don't work when cursor is in unit <rdar://problem/13058697> PARITY: Option-Up arrow in "translate3d" should not modify number to make" translate4d" Reviewed by Joseph Pecoraro. * UserInterface/CodeMirrorAdditions.js: (CodeMirror.prototype.alterNumberInRange): Correctly preserve the selection, even if it differs from the range passed in. (alterNumber): Find number tokens and pass those to alterNumberInRange. (alterNumber.findNumberToken): Added. Helper. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
63667844