Permalink
Browse files

Fixed select line with headers and lists

  • Loading branch information...
1 parent 4d67cad commit b432a0446069210012a57f93fe907a5a22e5686e @icebeat committed Nov 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/commands.js
View
@@ -597,7 +597,7 @@ Extend(Editor.prototype, {
},
selectLine: function (position) {
- var from = this.getPositionFromPoint(0, position.y), to = this.getPositionFromPoint(this.width, position.y);
+ var from = this.getPositionFromPoint(0, position.y), to = this.getPositionFromPoint(this.width + this.padding, position.y);
this.updateView(from, to);
},

0 comments on commit b432a04

Please sign in to comment.