CEdit: bugfix ([enter], [ctrl+{up/down}])

git-svn-id: svn://kolibrios.org@9835 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Anton Krotov 2022-06-10 01:42:36 +00:00
parent cc0d0d49e0
commit 1e77fdad62
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -28,7 +28,7 @@ IMPORT
RW, Ini, EB := EditBox, Tabs, Toolbar, SB := StatusBar;
CONST
HEADER = "CEdit (09-jun-2022)";
HEADER = "CEdit (10-jun-2022)";
ShellFilter = "";
EditFilter = "SH|INC|TXT|ASM|OB07|C|CPP|H|PAS|PP|LUA|INI|JSON";

View File

@ -1248,7 +1248,8 @@ BEGIN
Lines.setChar(text.curLine, n - 1, Lines.getChar(line2, n - 1));
DEC(n)
END;
Lines.modify(newLine)
Lines.modify(newLine);
SetPos(text, text.cursor.X, text.cursor.Y)
END enter;