focusedNote

abstract var focusedNote: Int

The note the detail editor is on, or -1.