From 739b9c64cab7cf524a00f541ae1d40c41111e7c0 Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Sun, 31 Jan 2021 15:40:08 -0300 Subject: [PATCH] Indicates visually which options are correlated (layout box). --- source/ide/ide_methods.bas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 0c75a9510..ea7834989 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -10200,6 +10200,7 @@ FUNCTION idelayoutbox i = i + 1 ideindentsubsid = i o(i).typ = 4 + o(i).x = 6 o(i).y = 7 o(i).nam = idenewtxt("Indent SUBs and #FUNCTIONs") o(i).sel = ideindentsubs @@ -10308,6 +10309,9 @@ FUNCTION idelayoutbox END IF idetxt(o(ideautoindentsizeid).txt) = a$ + IF o(ideautolayoutid).sel = 0 THEN o(ideautolayoutkwcapitalsid).sel = 0 + IF o(ideautoindentID).sel = 0 THEN o(ideindentsubsid).sel = 0 + IF K$ = CHR$(27) OR (focus = buttonsid + 1 AND info <> 0) THEN EXIT FUNCTION 'cancel IF K$ = CHR$(13) OR (focus = buttonsid AND info <> 0) THEN 'ok 'save changes