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


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

recovery of displayed content

From Fred Klingener <jfklingener@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject recovery of displayed content
Date 2011-05-09 10:19 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iq8f3b$5si$1@smc.vnet.net> (permalink)

Show all headers | View raw


I have text formatted and displayed in a scrolling Pane. To be sure, I
can recover the position of the scrollbar, but the displayed content
will change with reformatting, resizing of windows, etc.

Is there any way to recover and analyze text that actually appears in
the Pane at any given time?

doi = ExampleData[{"Text", "DeclarationOfIndependence"}];
Pane[
  TextCell[
   doi
   , FontFamily -> "Helvetica"
   , LineIndent -> 0
   , 12
   , TextJustification -> 0.5
   , Hyphenation -> True
   , HyphenationOptions -> {"HyphenationCharacter" -> "\[Hyphen]",
     "HyphenationFreeZone" -> 36, "HyphenationMinLengths" -> {3, 3}}
   ]
  , ImageSize -> {200, 200}
  , Scrollbars -> {False, True}
  ]

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


Thread

recovery of displayed content Fred Klingener <jfklingener@gmail.com> - 2011-05-09 10:19 +0000

csiph-web