commit | 3227f3d80c75442b0bedbdec0567c56c1644ef24 | [log] [tgz] |
---|---|---|
author | Michael Zhou <moz@google.com> | Fri Jun 28 16:27:18 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Fri Jul 05 19:31:33 2013 -0700 |
tree | 08ae1b56e27da33e18d7fa87a6a540de62879431 | |
parent | bcb6b6f149ac8a35734ffefebbb7d25c17683bc1 [diff] |
Enable adding draft on active line Modified CodeMirrorDemo to highlight active line. Added KeyMap from 'c' to a handler that adds drafts on active line, edits existing drafts, or replies to published comments. Modified lineOnOther() in LineMapper to return both the line number and whether the line on the other side is aligned with the one on this side. Added tests to verify. Change-Id: I732ded8d76163a6b4dc76fcd45dbd9233090ce9c