Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Idocument partition
Idocument partition [message #103444] Wed, 30 July 2003 15:09 Go to next message
Eclipse UserFriend
Originally posted by: paolino125.hotmail.com

Hi, I use a SourceViewer for open files written in jess language (a language
for writing expert system) and I need to divide the document into partition
(in jdt editor divide the document by method definition) for create a
outline.
Each partition is like

(defrule pippo
(pluto ? ?)
=>
(assert (minni)))

I try with DefaultPartitioner but it doesn't work. Anyone could help me?
Thanks
Re: Idocument partition [message #104374 is a reply to message #103444] Thu, 31 July 2003 16:14 Go to previous message
Eclipse UserFriend
Originally posted by: demeester_roel.users.sourceforge.net

Have a Look at the javaeditor exampl, to see how PredicateRules are use
to split up a text in Partitions.
When you need very lowlevel partitions (where you scan the text
character by chracter), have a look at the jdt.ui plugin, and more
specific search for FastJavaPartitioner (or something).
I used the latter to develop a partitioner for a properties File editor.
See the [ANN]ouncement posted some minutes before this message.

success
Roel De Meester

paolino paperino wrote:

> Hi, I use a SourceViewer for open files written in jess language (a language
> for writing expert system) and I need to divide the document into partition
> (in jdt editor divide the document by method definition) for create a
> outline.
> Each partition is like
>
> (defrule pippo
> (pluto ? ?)
> =>
> (assert (minni)))
>
> I try with DefaultPartitioner but it doesn't work. Anyone could help me?
> Thanks
>
>
Previous Topic:[ANN] (Colored) Properties File Editor for Eclipse Version 0.0.1
Next Topic:Change the editor src tab of build.properties
Goto Forum:
  


Current Time: Wed May 07 19:34:26 EDT 2025

Powered by FUDForum. Page generated in 0.03355 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top