refactor: Make the cursor use the focus manager for tracking the current node. by gonfunko · Pull Request #9142 · RaspberryPiFoundation/blockly

The basics

The details

Resolves

This PR fixes RaspberryPiFoundation/blockly-keyboard-experimentation#584, but more generally updates the cursor to no longer track its own state wrt the actively focused element, but instead defer to the FocusManager. This also allows Marker and MarkerManager to be trivially deleted, but I'm leaving them for now to avoid breaking changes.