| Summary: | [client][editor] Check internal names in the editor and dependencies | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Felipe Heidrich <eclipse.felipe> | ||||
| Component: | Client | Assignee: | Susan McCourt <susan> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | libingw, simon_kaegi, susan | ||||
| Version: | 0.2 | Flags: | simon_kaegi:
review+
|
||||
| Target Milestone: | 0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Felipe Heidrich
I was originally going to defer this since it's only internal names. But, it's supposed to be the example for consuming the editor. Talked to Simon, we are going to go for it. Note: This is not just internal code. This affects the "API" of what is now orion.editor.Editor Editor constructor options.editorFactory -> options.textViewFactory Editor.getEditorWidget() -> Editor.getTextView() Editor.installEditor() -> Editor.installTextView() So we need to search all users of these methods in order to get this right. The rest is internal naming in glue code and feature/factories. I'll make a pass and attach a patch for review once it's working. cc'ing Libing as this affects compare-container (but I'll make the changes) Created attachment 197550 [details]
diff
Simon, can you please review? I verified that: - editor still works - read only editor still works - compare editors work (inline and side by side) - examples work (minimaleditor and embeddededitor) There may be some more cleanup required later, for example the compare code still has internal methods called "createEditorContainers", etc. but the examples and mainstream coding pages look good. There is a diff attached. I also pushed a branch that you can try. remotes/origin/bug348422 Thanks Susan. Looks good and I'm using it without a problem and have now just pushed it. Fixed in HEAD. FWIW a branch is by far the easiest for me to review from. |