|
|
Re: Updating document partitioning according to data structure update [message #897324 is a reply to message #895053] |
Mon, 23 July 2012 11:21  |
Eclipse User |
|
|
|
On 11.07.2012 16:36, Oleg Schtofenmaher wrote:
> Hi, I have an editor, which partitions its document according to some
> data structure. I would like to trigger a re-partition of the document
> (and syntax coloring update) according to a change done to this data
> structure. I can detect the change (it is triggered by an Action) and
> respond to it. How can I trigger the re-partitioning?
You could do this by calling
org.eclipse.jface.text.IDocumentPartitionerExtension.documentChanged2(DocumentEvent)
on your partitioner.
Dani
>
> Best regards, Oleg
|
|
|
Powered by
FUDForum. Page generated in 0.30929 seconds