Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Partiton Bleeding? Eclipse 3
Partiton Bleeding? Eclipse 3 [message #188062] Sun, 01 February 2004 22:15
Eclipse UserFriend
Hi everyone,

I am writing an eclipse 3 plug-in for the cold fusion programming
language, and I seem to either be hitting a snag or I don't understand
something about partitions in general.

The cf (coldfusion) language is mostly HTML with certain commands
embedded in the document, but it can also have script blocks. For example:
....
example 1
<table>
<cfset value="1234">
<cfloop from="12" to="23" index="q">
<tr><td>#q#</td></tr>
</cfloop>
</table>

example 2
<table>
<cfscript>
for(q=12; q lte 23; q=q+1)
{
writeoutput("<tr><td>" & q & "</tr></td>");
}
</cfscript>

<cffor>
</table>
....

What I am doing is first using a partition scanner to set a multiline
rule of "<cf" to ">" and marking it as a __cf_tag, then I am marking
"<cfscript>" to "</cfscript>" as __cf_script. Now if I understand
correctly, the damager and repairer I set to fix those sections should
*stay* in those sections yes?

The problem I am having is rules I have setup for the cfscript partition
somehow start getting applied to the __cf_tag partitions. So, referring
to example 2, if I have a __cf_script rule that says make the keyword
"for" blue, the tag following the cfscript is also blue.

If you know of any links, tutorials, or could shed any light on this I
would very much appreciate it.

Cheers,
Rob
Previous Topic:debugger + class file editor
Next Topic:Navigator customization
Goto Forum:
  


Current Time: Thu Jun 05 01:16:11 EDT 2025

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

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

Back to the top