Closed Bug 933649 Opened 11 years ago Closed 11 years ago

Group methods in editor.js for better self-documentation

Categories

(DevTools :: Source Editor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 28

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

I've been working with our editor lately. Skimming for methods in editor.js is very hard at the moment, because methods with similar or related functionality are dispersed all around the file. It would be helpful for newcomers (and me) if related methods would be grouped together. For example, setting text, selection in one place, converting coords, offsets in another, etc.
Attached patch editor-group.patch (deleted) — Splinter Review
Simply moves methods around.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #825766 - Flags: review?(anton)
Depends on: 933646
Blocks: 725235
Comment on attachment 825766 [details] [diff] [review] editor-group.patch Review of attachment 825766 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Attachment #825766 - Flags: review?(anton) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Whiteboard: [qa-]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: