BlocklyDuino2Electron
BlocklyDuino2Electron copied to clipboard
Error is displayed when verifying generated code.
If the generated program is too long and doesn't fit the 'ace_content' code editor window, a scroll bar is displayed. When I try to verify the generated code error messages are displayed. The reason being only the visible part of the code is copied by the following line of code: var data = document.getElementsByClassName("ace_content")[0].innerText; File: IDE_functions.js line 70
Also when you copy the code using the copy button only the visible code is copied and not the whole generated code.