NISUS Archives

June 2010

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 1 Jun 2010 20:00:25 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
On Jun 1, 2010, at 1:01 PM, Nobumi Iyanaga wrote:

> I think I have to use some "foreach" loop:
> 
> ForEach $range in reversed $ranges
> ...
> 
> and
> 
> text.replaceInRange $range, $prepared_text
> 
> or
> 
> text.insertAtIndex $range.bound, $prepared_text
> 
> But how should I apply the wanted font to the replacing text or text to be inserted?

Surely there would be other ways to do so but my usual procedure is

	$variable = Cast to String 'something' # unnecessary if 'something' is already plain text
	Push Target Text $variable
		Set Font Name 'Hiragino Mincho Pro'
	Pop Target Text


Kino

ATOM RSS1 RSS2