Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Re: platform-swt-dev digest, Vol 1 #1021 - 2 msgs

On Fri, 15 Oct 2004 12:00:04 -0400,
platform-swt-dev-request@xxxxxxxxxxx
<platform-swt-dev-request@xxxxxxxxxxx> wrote:
> Send platform-swt-dev mailing list submissions to
>        platform-swt-dev@xxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> or, via email, send a message with subject or body 'help' to
>        platform-swt-dev-request@xxxxxxxxxxx
> 
> You can reach the person managing the list at
>        platform-swt-dev-admin@xxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of platform-swt-dev digest..."
> 
> Today's Topics:
> 
>   1. Re: changes to IDocument outside of DocumentEvent
>       documentChanged context arent shown (Veronika Irvine)
> 
> --__--__--
> 
> Message: 1
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: Re: [platform-swt-dev] changes to IDocument outside of DocumentEvent
> documentChanged context arent shown
> From: Veronika Irvine <Veronika_Irvine@xxxxxxxxxx>
> Date: Thu, 14 Oct 2004 08:38:11 -0400
> Reply-To: platform-swt-dev@xxxxxxxxxxx
> 
> You should ask this question on the eclipse.platform newsgroup:
> 
> news://news.eclipse.org/eclipse.platform
> 
> Bradley Schatz <bradley@xxxxxxxxxxxxx>
> Sent by: platform-swt-dev-admin@xxxxxxxxxxx
> 10/14/2004 04:03 AM
> Please respond to
> platform-swt-dev
> 
> To
> platform-swt-dev@xxxxxxxxxxx
> cc
> 
> Subject
> [platform-swt-dev] changes to IDocument outside of DocumentEvent
> documentChanged context arent shown
> 
> Hi,
> 
> >From within a IDocumentListener.documentChange event listener, how can I
> tell the corresponding view that positions other than that refered to by
> the DocumentEvent have also been changed?
> 
> ie. based on the DocumentEvent, I update the document by adding and
> removing Positions within the offset and length of the DocumentEvent.
> These changes are then reflected fine in the view. But if I do changes
> to the document Positions that occurr outside of the offset & length,
> the changes arent reflected.
> 
> Some background: I am currently attempting to write an custom eclipse
> editor plugin. This is an editor for a custom xml variant language. My
> customisation is to highlight various syntax portions differently. This
> currently works.
> 
> Another part of this goal is to change the colouring of some syntax
> elements, based on other syntax elements. In this case, as I edit a
> regular expression string in the language, an example text string that
> it should match should be automatically highlighted to reflect the
> extent to which the regex matched. I have this working on
> initialization, but I have problems when I edit the field.
> 
> Thanks for your help,
> 
> bradley
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 
> --__--__--
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 
> End of platform-swt-dev Digest
>


Back to the top