Help Migrating InDesign Plugin to 2026 SDK – "No member named 'data' in 'K2Vector<TabStop>'"
Hi all,
I'm working on migrating my InDesign plugin from the 2025 SDK to the newly released InDesign 2026 SDK. I’m using Xcode 16.2 on macOS and attempting to rebuild the plugin against the latest SDK.
However, I'm encountering the following compilation error:
"No member named 'data' in 'K2Vector<TabStop>'"
This error is occurring in TabStop.h at these lines:
const TabStop* begin() const
{ return fSortedTable.data(); }
/** */
const TabStop* end() const
{ return fSortedTable.data() + fSortedTable.size(); }
Has the K2Vector interface changed in the 2026 SDK? Or is there some new header, typedef, or setting I'm missing?
Any guidance on how to resolve this or properly access the internal buffer of a K2Vector in the new SDK would be greatly appreciated.
Thanks in advance!
Chetan
