MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: setting selection via char positions and setting its background

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100530] Re: setting selection via char positions and setting its background
  • From: meitnik <meitnik at gmail.com>
  • Date: Sat, 6 Jun 2009 06:26:06 -0400 (EDT)
  • References: <h050k6$aas$1@smc.vnet.net> <h0d748$ssl$1@smc.vnet.net>

Another version:

Button["
StyleBox[\"=E2=97=8A\",\nFontColor->RGBColor[1, 1, 0]] ",
hit = Background /. Options[NotebookSelection[], Background];
pt = If[hit === None, Yellow, None];
SetOptions[NotebookSelection[], Background -> pt]]

As for the find/replace, I been told its all in C code. So how does
one select text going cell to cell and within the cell via code??



  • Prev by Date: Re: Debugger, um, tutorial on it??
  • Next by Date: Re: RandomReal gets stuck
  • Previous by thread: Repositioning AxesLabel position
  • Next by thread: Re: ReplaceAll and BlankNullSequence