We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f80702 commit 302bafeCopy full SHA for 302bafe
app/src/processing/app/syntax/JEditTextArea.java
@@ -1641,7 +1641,7 @@ public void copy()
1641
if(selectionStart == selectionEnd) // Nothing selected
1642
{
1643
int lineNo = getLineOfOffset(getCaretPosition());
1644
- select(getLineStartOffset(lineNo), getLineStopOffset(lineNo));
+ select(getLineStartOffset(lineNo), getSafeLineStopOffset(lineNo));
1645
}
1646
1647
if(selectionStart != selectionEnd)
0 commit comments