mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
Added line copying to copy/cut/paste
This commit is contained in:
parent
9242cb0dc5
commit
d807049b9f
5 changed files with 124 additions and 65 deletions
|
@ -2132,9 +2132,8 @@ namespace IDE.ui
|
|||
var str = scope String();
|
||||
GetLineText(lineNum, str);
|
||||
mSelection = null;
|
||||
str.Append("\n");
|
||||
CursorLineAndColumn = LineAndColumn(lineNum, 0);
|
||||
InsertAtCursor(str);
|
||||
PasteText(str, "line");
|
||||
CursorLineAndColumn = LineAndColumn(prevCursorLineAndColumn.mLine + 1, prevCursorLineAndColumn.mColumn);
|
||||
|
||||
mData.mUndoManager.Add(undoBatchStart.mBatchEnd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue