@Szabolcs The function repository reminds me of when iPhone first came up, the way they opened it to developers was through some "web apps". Luckily in that case, jailbreakers sort of forced the issue
Is there an elegant way to override parts of a CellObject while keeping track of the cell? My current method is: Read the contents -> Modify contents & Add a tag -> Overwrite cell using NotebookWrite -> Find cell with tag -> restore previous tags
@Kuba I want to be able to modify the cell again in the future, so having the CellObject of the new cell would be ideal (the problem is that the old one gets invalidated when overwriting the cell using NotebookWrite)
Here's a version of the previous answer that doesn't move the selection and only works at the Box level:
MakeBoxes[replacementMarker[a_, tag_], StandardForm] ^:=
TagBox[MakeBoxes[a],
tag,
BoxID -> tag]
replaceMark[obj_, function_, tag_] :=
With[{ref =
FE`BoxReference[
FE`Evaluat...
I thought I'd keep a running tally of what I know about these packets (excluding the obvious ones like CreatePalettePacket) just for reference.
Text / Box interchange
ReparseBoxStructurePacket
This one parses a string (as far as I can tell just a string) into a box structure. We can use this...
@Kuba Yeah, definitely new. It looks a bit different and is now generated from Javascript rather than being rendered on the server
I suppose this is one of those things they didn't feel they could do with the old theme. I suppose there must have been a lot of infrastructural changes for the switch