#2871: Implement DOM range iterator.
-----------------------+----------------------------------------------------
Reporter: martinkou | Owner: martinkou
Type: Task | Status: assigned
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: Review- |
-----------------------+----------------------------------------------------
Changes (by fredck):
* keywords: Review? => Review-
Comment:
- The "domiterator" is the kind of plugin that don't have to go inside the
plugins configuration. It's loaded only if we have other plugins that
depend on it.
- As I could note, things have been copied from V2 as is, with no
adaptation to V3. It means we'll have to work more on this code later.
- There was a reason for having getFirst and getLast inside element, and
not on node. Actually, they are not useful outside the element scope. For
example, "textNode.getFirst()" means nothing. I don't care about the W3C
DOM here, as our intention is not to implement it. We have a custom
implementation that can be clearer, and so we should avoid such DOM
generalities. If part of our code is supposed to do "textNode.getFirst()",
then our code must be fixed, as it only impacts on performance, as we know
it'll never return a node. Anything that's element specific must go inside
the element class only.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2871#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac