Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GSOC
POC
Fixes #245
Describe the changes you have made in this PR -
There should be a way to identify the currently selected component (on the canvas) and modify that component's object (in the globalscope)
getCurrentlySelectedComponent()
function to get the most recent selected component on the circuit.getAllSelectedComponent()
function to get all the multiple selected component on the circuit.In case of the 'Simulation Stack Exceeded' error, there should be a way to find the components that are being added to the simulation stack an unnaturally large number of times.
getSimulationLog()
function, which will return the array of components that are being added to the simulation stack an unexpectedly large number of times.Screenshots of the changes (If any) -
currentlyselectedcomponent.online-video-cutter.com.webm
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.