From 5e4c3baa4bc00fc890cb2a978ee5d1e7f46d56c4 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Sat, 31 Jul 2021 19:47:12 -0300 Subject: [PATCH] Adds Copy button to call stack log dialog. --- source/ide/ide_methods.bas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 9243bbdd1..f917e9fe6 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -7816,7 +7816,7 @@ FUNCTION idecallstackbox i = i + 1 o(i).typ = 3 o(i).y = dialogHeight - o(i).txt = idenewtxt("#Close") + o(i).txt = idenewtxt("#Close" + sep + "Co#py") o(i).dft = 1 @@ -7902,6 +7902,9 @@ FUNCTION idecallstackbox EXIT FUNCTION END IF + IF K$ = CHR$(13) OR (focus = 3 AND info <> 0) OR (UCASE$(K$) = "C" AND KCTRL <> 0) THEN + _CLIPBOARD$ = StrReplace$(callstacklist$, sep, CHR$(10)) + END IF 'end of custom controls mousedown = 0