I needed to use the selection / cursor location in 'GetDeclarationAction' (`spark.dart`) and convert it to an offset.  We already had access to `cursorPosition` but taking it from html.Point, converting it back to ace.Point for conversion to offset would have been cumbersome.  It seemed to be redundant to provide offset and point versions of the same method, but maybe that's the better solution.  In short, I need the cursor data in something I can easily pass back to ace.  I will just try to abstract that logic into something in ace.dart and revert the switch.