|partitionType-based damager [message #1270867]
||Thu, 13 March 2014 17:44
| valentin Mising name
Registered: December 2011
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|
The first partition is an identifier, followed by a quote, which is portion of default text. Now, user injects another double quote in the beginning of text,
The whole file must be colored green. But, it is injected in the identifier section, where I do not expect comments and use another scanner.
My point is that changing the text in some place may totally reorganize the document partitioning. Does the damager/reparer based reconciliation architecture solve this problem? How?
Powered by FUDForum
. Page generated in 0.02217 seconds