MathGroup Archive 2009

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

Search the Archive

Re: setting selection via char positions and setting its background

Another version:

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