mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Fix "Move line" is able to delete lines in read only source code
This commit is contained in:
parent
b062c3d2dd
commit
9361bf59d9
1 changed files with 3 additions and 0 deletions
|
@ -3743,6 +3743,9 @@ namespace IDE.ui
|
||||||
|
|
||||||
public void MoveLine(VertDir dir)
|
public void MoveLine(VertDir dir)
|
||||||
{
|
{
|
||||||
|
if (CheckReadOnly())
|
||||||
|
return;
|
||||||
|
|
||||||
RemoveSecondaryTextCursors();
|
RemoveSecondaryTextCursors();
|
||||||
int lineNum = CursorLineAndColumn.mLine;
|
int lineNum = CursorLineAndColumn.mLine;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue