Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2782

Re: CreateCellID

From John Fultz <jfultz@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: CreateCellID
Date 2011-05-29 11:38 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <irtb7v$pm4$1@smc.vnet.net> (permalink)

Show all headers | View raw


On Wed, 25 May 2011 19:31:28 -0400 (EDT), Wolfgang Windsteiger wrote:
> Dear group,
>
> the CellOption "CellID" is still undocumented, thus unsafe whether it
> will survive future design decisions.
>
> Does anybody have a "feeling", how high the chances are that this very
> useful feature might become documented and thus permanent?
>
> The CellID is "unique", I assume "unique within one notebook" (at least,
> this would sound reasonable for me). Or is it even "unique within all
> open notebooks". Does anyone know how I should interpret "unique"?
>
> Thank you,
> WW.

Whether or not it becomes documented, I think the existing functionality is
unlikely to change in any significant way, as our documentation system relies on
the existing functionality.

Yes, you are correct...CellID is unique within a given notebook.  One of the
important properties of a CellID is that it's saved with the notebook and the ID
for a given cell will never, ever be changed by any automatic operation.  This
allows a stable target for operations such as hyperlinking.  Since ID stability
is an important feature, we couldn't make it unique among a collection of open
notebooks unless it were a genuinely globally unique identifier (e.g., look up
GUID in Wikipedia).

Sincerely,

John Fultz
jfultz@wolfram.com
User Interface Group
Wolfram Research, Inc.

Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: CreateCellID John Fultz <jfultz@wolfram.com> - 2011-05-29 11:38 +0000
  Re: CreateCellID David Bailey <dave@removedbailey.co.uk> - 2011-05-30 10:35 +0000

csiph-web