Skip to content
Mike Pelley edited this page May 3, 2021 · 4 revisions

The IPluginHost class has an ActiveWindowState member of type IParatextChildState.

The IParatextChildState class has a Project member of type IProject and a CurrentVerseRef of type IVerseRef.

The IProject class has member functions to get scripture data in various formats:

  • GetUSFM()
  • GetUSFMTokens()
  • GetUSX()

The information in CurrentVerseRef can be used to select the range of verses to use with the Get functions.

The plugin should use a write lock if it intends to modify the scripture it is reading.

Clone this wiki locally