the selectedChunk

Ken Norris (dialup) pixelbird at
Mon Jun 17 01:10:01 EDT 2002

on 6/16/02 4:20 AM, Almesjö Niklas at niklas_almesjo at wrote:

> I'd like to insert some html on both sides of the selected text in a
> field. 
> "put "<b>" before the selectedchunk" works, but..
> put "</b>" after the selectedchunk still inserts it before. How do I get
> it after the selected text?
I'm not exactly sure what you're doing, but this should work:

  put "<b>" before the selection
  put "/<b>" after the selectedChunk

Ken N.

More information about the Use-livecode mailing list