๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #4288

selection observer for text selections

#4288
From: FerdinandSchwrer itip
Date: Fri, 25 Jun 2004 12:47
11 lines
1285 bytes
How to define a selection observer that provides access to the ITextSelectionHighlightMessage?

I tried to inherit my selection observer from SelecctionHighlightObserver, but due to abstract AbstractSingleSelectionObserver::QueryControlView() I can not instantiate it.

Of course, it would be no problem to provide a dummy for this method, but I expect this is the wrong way?!

What I try to do is to pre-/postprocess text selections to adjust the selection if appropriate. And it looks like that ITextSelectionHighlightMessage provides the information I need.

Any help is welcome :-)
Thanks in advance,
Ferdinand
Technical Details
Message-ID: <3bb4c5e3.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63e9,58d59e1003a8355f,start
X-Google-Attributes: gidf63e9,public
From: Ferdinand_Schw๏ฟฝrer(itip)@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.indesign.sdk
Subject: selection observer for text selections
Message-ID: <3bb4c5e3.-1@webx.la2eafNXanI>
Date: Fri, 25 Jun 2004 05:47:20 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit