Skip to content
Browse files

Fix for #194

  • Loading branch information...
1 parent 0f80702 commit 302bafeb8d3108713b3e0f288494d3fef450ef76 Erwin Ried committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/src/processing/app/syntax/JEditTextArea.java
View
2 app/src/processing/app/syntax/JEditTextArea.java
@@ -1641,7 +1641,7 @@ public void copy()
if(selectionStart == selectionEnd) // Nothing selected
{
int lineNo = getLineOfOffset(getCaretPosition());
- select(getLineStartOffset(lineNo), getLineStopOffset(lineNo));
+ select(getLineStartOffset(lineNo), getSafeLineStopOffset(lineNo));
}
if(selectionStart != selectionEnd)

0 comments on commit 302bafe

Please sign in to comment.
Something went wrong with that request. Please try again.