Fixed splice() ClassCastException issue 1445
Merge pull request #2461 from kfeuz/Issue1445

Fixed splice() ClassCastException issue 1445
Merge pull request #2457 from jdf/master

Switch modes: reopen current sketch in new mode editor if file extension is compatible.