1
$\begingroup$

Bug introduced in V9 and fixed in V11

Same story as in NotebookImport ignoring multiple style cells,

CellPrint @ Cell["test", "Section", "Program"]

Cells[CellStyle -> #] & /@ {"Section", "Program"}

enter image description here

This cell was only found by "Section" selector. I'd expect "Program" to work too.

And again, multiple style cells are officially supported so I consider it bug.

$\endgroup$
1
$\begingroup$

[...] There seems to be an inconsistency between the documentation of the Cell function at that tutorial (TheStructureOfCells).

In the documentation it says that only one cell style can be specified, but in the tutorial it says that multiple can be specified. [...]

The engineer assigned to that case filed a developers report regarding the issue you were reporting. I will add to that existing developers report to point out this inconsistency in the documentation. Thank you for bringing this to our attention.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.