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


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

recovery of displayed content

Started byFred Klingener <jfklingener@gmail.com>
First post2011-05-09 10:19 +0000
Last post2011-05-09 10:19 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#2216 — recovery of displayed content

FromFred Klingener <jfklingener@gmail.com>
Date2011-05-09 10:19 +0000
Subjectrecovery of displayed content
Message-ID<iq8f3b$5si$1@smc.vnet.net>
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}
  ]

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web