1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-26 17:10:38 +00:00

Indicates visually which options are correlated (layout box).

This commit is contained in:
Fellippe Heitor 2021-01-31 15:40:08 -03:00
parent fff40a315e
commit 739b9c64ca

View file

@ -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