Bug 193214 - [Cheatsheet][Editors][Simple] Rewrite model to use text edit operations
Summary: [Cheatsheet][Editors][Simple] Rewrite model to use text edit operations
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Mike Pawlowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
: 189460 199743 199746 199750 199752 (view as bug list)
Depends on: 192946
Blocks:
  Show dependency tree
 
Reported: 2007-06-18 17:53 EDT by Mike Pawlowski CLA
Modified: 2007-08-13 11:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Pawlowski CLA 2007-06-18 17:53:11 EDT
Editor currently rewrites entire file on save.
As a result, custom XML input entered in the source page by the user is not preserved.

Rewrite the model to use text edit operations in order to make the editor as smart as the Plug-in Manifest Editor.
Comment 1 Mike Pawlowski CLA 2007-08-13 09:35:34 EDT
*** Bug 189460 has been marked as a duplicate of this bug. ***
Comment 2 Mike Pawlowski CLA 2007-08-13 09:43:52 EDT
*** Bug 199743 has been marked as a duplicate of this bug. ***
Comment 3 Mike Pawlowski CLA 2007-08-13 09:59:30 EDT
*** Bug 199746 has been marked as a duplicate of this bug. ***
Comment 4 Mike Pawlowski CLA 2007-08-13 10:13:17 EDT
*** Bug 199750 has been marked as a duplicate of this bug. ***
Comment 5 Mike Pawlowski CLA 2007-08-13 10:26:55 EDT
*** Bug 199752 has been marked as a duplicate of this bug. ***
Comment 6 Mike Pawlowski CLA 2007-08-13 10:48:27 EDT
Notable Enhancements

* Implemented custom processing of elements containing mixed content 
  (child elements and text content)
  -> For custom 'collapsible' elements, all child elements are processed
     as text content
  -> Created helper utilities in text edit operation framework

* Implemented custom termination of start elements to reduce XML clutter
  -> i.e. Create empty elements or use an end element tag

* Updates Simple Cheat Sheet new file wizard to use the new model

* Handle world change events in the UI using stale markers and refreshing 
  rather than direct updates
  -> Performance enhancement to reduce source page reconciling time on edit


Comment 7 Mike Pawlowski CLA 2007-08-13 11:00:28 EDT
The Simple Cheat Sheet Editor is stable and now has the ability to preserve custom XML mark-up (e.g. comments, elements, etc.) and formatting.  Old and new functionality is operational.

Fixed.  Patch released to HEAD.

Target:  3.4 M2