mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 16:40:26 +02:00
Merge pull request #2268 from m910q/move-line-fix
Fix "Move line" is able to delete lines in read only source code
This commit is contained in:
commit
fb164597d0
1 changed files with 3 additions and 0 deletions
|
@ -3743,6 +3743,9 @@ namespace IDE.ui
|
|||
|
||||
public void MoveLine(VertDir dir)
|
||||
{
|
||||
if (CheckReadOnly())
|
||||
return;
|
||||
|
||||
RemoveSecondaryTextCursors();
|
||||
int lineNum = CursorLineAndColumn.mLine;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue