designSpaceRoboFontExtension icon indicating copy to clipboard operation
designSpaceRoboFontExtension copied to clipboard

[2.0] notifications

Open typemytype opened this issue 2 years ago • 1 comments

  • [x] designspaceEditorWillOpenDesignspace;: will open a designspace file
  • [x] designspaceEditorDidOpenDesignspace: did open a designspace file
  • [x] designspaceEditorDidChange: anything did change
  • [x] designspaceEditorLabelsDidChange: labels did change
  • [ ] designspaceEditorWillAddSource
  • [ ] designspaceEditorDidAddSource

typemytype avatar Sep 28 '22 15:09 typemytype

  • [ ] designspaceEditorSourceOpened is sent when a UFO that is part of the current designspace is opened in RF (and now needs to use the "live" data)
  • [ ] designspaceEditorSourceClosed is sent when a UFO that is part of the current designspace is closed in RF (and now needs to be loaded from file)
  • [ ] designspaceEditorSourceChanged is sent when RF notices a UFO has been changed on disk *1
  • [ ] designspaceEditorCurrentLocationChanged is sent when the current location is changed in DSE
  • [ ] designspaceEditorChangedInstances is sent when there is a significant change in instance location, avar values, etc
  • [ ] designspaceEditorChangedMathModel is sent when the math model changes

Receiving

  • [ ] designspaceEditorUpdateCurrentLocation is received when the current location is changed somewhere else, for instance in Skateboard, and we want DSE to update
  • [ ] designspaceEditorAddInterestingLocation is received to store a designspace location, with name, in the designspace lib

LettError avatar Sep 29 '22 06:09 LettError

Would designspaceEditorDidSaveDesignspace be useful?

typesupply avatar Oct 16 '23 14:10 typesupply

Notifications ready and working: https://letterror.github.io/designSpaceRoboFontExtension/#toc_12b

LettError avatar Nov 03 '23 16:11 LettError