Skip to main content



      Home
Home » Newcomers » Newcomers » partitionType-based damager
partitionType-based damager [message #1270180] Wed, 12 March 2014 12:18 Go to next message
Eclipse UserFriend
I see that document is partitioned. Then, every time user types anything, the the damager and repaer are called. It looks like parsing, followed by incremental parsing. The damager and reparer are is chosen based on the type of the initial partition. That is, if user eidted a comment then comment damager and reparer will be used. I do not get this. Suppose the edit has eliminated the comment completely. Why should the comment damager to be used for that? Alternatively suppose that I had a file

abc"

Suppose the first partition is an identifier, followed by portion of default text. Now, user injects a double quote in the beginning of text.

"abc"

The whole file must be colored green. I change the text only in the beginning but this affects format of the whole document. How does the damager/reparer based reconciliation architecture solve this problem?

[Updated on: Wed, 12 March 2014 12:26] by Moderator

Re: partitionType-based damager [message #1270791 is a reply to message #1270180] Thu, 13 March 2014 09:51 Go to previous messageGo to next message
Eclipse UserFriend
You might want to ask this on the Eclipse Platform forum.

[Updated on: Thu, 13 March 2014 09:51] by Moderator

Re: partitionType-based damager [message #1270869 is a reply to message #1270791] Thu, 13 March 2014 13:48 Go to previous message
Eclipse UserFriend
Ok, I have created the question at http://www.eclipse.org/forums/index.php/t/672202/. If you think that it is more appropriate, you may close this question here.
Previous Topic:Update Woes. Help!!!!
Next Topic:Console view no longer opens automatically when executing Ant target
Goto Forum:
  


Current Time: Fri Jun 20 07:16:31 EDT 2025

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

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

Back to the top