[trunk] Cursor.staffIdx is not (track * 4) but (track / 4)

• Oct 14, 2013 - 11:57
Type
Wording/Translation
Severity
S4 - Minor
Status
closed
Project

The documentation shown in the Plugin editor says Cursor's property "staffIdx" is "current staff (track * 4)" but that's incorrect. It should be "current staff (track / 4)".

From"cursor.cpp":

//---------------------------------------------------------
//   staffIdx
//---------------------------------------------------------
 
int Cursor::staffIdx() const
      {
      return _track / VOICES;
      }

Comments