Timeline for Design and relationship of a cursor and its referred object
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 26, 2014 at 22:00 | comment | added | Doval |
@StefanoBorini Even in that case, the Cursor type only needs to contain the information necessary for the document to distinguish one cursor from another - it'd be a simple data container. All the relevant cursor logic can still be contained in the Document class without Cursor having to know anything about its implementation.
|
|
Apr 26, 2014 at 18:15 | comment | added | Stefano Borini | Because in some cases you want to keep them separate, like for example if you need multiple cursors acting at the same time on the document. | |
Apr 25, 2014 at 16:18 | history | answered | Doval | CC BY-SA 3.0 |