Changes between Version 9 and Version 10 of TEXT_SERVER_R0
- Timestamp:
- 05/25/10 17:46:17 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TEXT_SERVER_R0
v9 v10 46 46 }}} 47 47 * Offline collaboration: 48 * Create resource property named "<Your ad here!>" . It will get the current resource revision of the associated text resource and its causing Change.48 * Create resource property named "<Your ad here!>" in ResourceTextModel. It will get the current resource revision of the associated text resource and its causing Change. 49 49 * If the change is a ModelChange, search the action fields for a TextChange. If found, call update with it. If not, do nothing. 50 50 * If the change is a MetaChange, create a TextStyleChange (interval - the whole text, style : HotStyleDef.empty()). update the model with it. The result is that the caret and selection are not changed. If the current caret index is in the text, it will stay there. If not, it will automatically be displayed in the text end. 51 * Online collaboration: 52 * Extend the property in ResourceTextModel. Keep internally a list of ResourceRevisions. All the incoming revisions should be added subsequently to that list. In the case when the access to the text resource is a DelegatingServerAccess one, write a new logic for the property - when a change occurs: 53 * Find the last resource revision id in the resource that is contained in our list. 51 54 52 55