From 968d8ad446ced18ff244d292d62a5e29f8ddd272 Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Thu, 11 Feb 2021 21:53:06 -0300 Subject: [PATCH] Allows Shift+ENTER to work like regular ENTER... ...if no special _RGB32() trick is at play. --- source/ide/ide_methods.bas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 3a2980e89..e529d3643 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -3628,6 +3628,8 @@ FUNCTION ide2 (ignore) HideBracketHighlight keywordHighlight = oldkeywordHighlight retval$ = idergbmixer$(-1) + ELSE + GOTO RegularEnter END IF END IF IF LEN(retval$) THEN @@ -3640,11 +3642,11 @@ FUNCTION ide2 (ignore) END IF GOTO specialchar ELSE + a$ = idegetline(idecy) + RegularEnter: ideselect = 0 desiredcolumn = 1 idechangemade = 1 - - a$ = idegetline(idecy) IF idecx > LEN(a$) THEN ideinsline idecy + 1, "" IF LEN(a$) = 0 THEN