Re: setting text color in Rich Edit
Derek,
Sorry, should have asked this in last post but didn't think of it in time:
is there some way to get the POSITION of the *cursor* in the Rich Edit
control? (That, plus test for keywords, plus your selection trick, plus
setFont might effect keyword colorizing in the Rich Edit.)
Dan
----- Original Message -----
From: "Derek Parnell" <dparnell at BIGPOND.NET.AU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, October 09, 2000 6:36 AM
Subject: Re: setting text color in Rich Edit
> ----- Original Message -----
> From: "Dan B Moyer" <DANMOYER at PRODIGY.NET>
> To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> Sent: Tuesday, October 10, 2000 12:26 AM
> Subject: setting text color in Rich Edit
>
> > At this point, (unless maybe someone knows how to programmatically
select
> > text in an acceptable fashion), looks to me like what you did with your
> own
> > editor may be the better bet?
>
> Its undocumented but the setIndex() routine can be used to select text on
> RichEdit controls.
>
> eg..
> -- Select characters 30 - 43 inclusive...
> setIndex(RE, {30, 43})
>
> I should really update the docs on this one.
>
> ----
> cheers,
> Derek
|
Not Categorized, Please Help
|
|