Skip to content

Commit

Permalink
Fix another edge case with copying.
Browse files Browse the repository at this point in the history
  • Loading branch information
csmith committed Jan 16, 2015
1 parent f51cb12 commit 361678e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ public String getSelectedText(final boolean styled) {
}
} else {
//loop the whole line
selectedText.append(getText(line, 0, line.length(), styled));
final int length = Styliser.stipControlCodes(line).length();
selectedText.append(getText(line, 0, length, styled));
}
}
}
Expand Down

0 comments on commit 361678e

Please sign in to comment.