the selectedChunk

Ken Norris (dialup) pixelbird at interisland.net
Mon Jun 17 01:10:01 CDT 2002


on 6/16/02 4:20 AM, Almesjö Niklas at niklas_almesjo at yahoo.com 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

HTH,
Ken N.




More information about the use-livecode mailing list