Bug 98911 - Web Inspector: Refactor UISourceCode, make it possible to distinguish working copy changes/commits from formatting.
Summary: Web Inspector: Refactor UISourceCode, make it possible to distinguish working...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 08:28 PDT by Vsevolod Vlasov
Modified: 2012-10-12 04:19 PDT (History)
9 users (show)

See Also:


Attachments
Patch (21.27 KB, patch)
2012-10-10 08:31 PDT, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2012-10-10 08:28:40 PDT
ContentChanged was dispatched both when working copy was committed and UISourceCode was formatted before.
WorkingCopyChanged event was dispatched when working copy was set.
Now there are three explicit events: WorkingCopyChanged, WorkingCopyCommitted, FormattedChanged.
No events are dispatched now during revisions restoring.
Reverting to revisions is now implemented based on the working copy editing.
Comment 1 Vsevolod Vlasov 2012-10-10 08:31:45 PDT
Created attachment 168003 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-10-12 04:19:42 PDT
Committed r131169: <http://trac.webkit.org/changeset/131169>