[Webkit-unassigned] [Bug 17374] Inspector should support tab completion while editing CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 21:44:09 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=17374





--- Comment #32 from Joseph Pecoraro <joepeck at webkit.org>  2010-06-14 21:44:09 PST ---
(In reply to comment #29)
> I've made an autocomplete, which doesn't use setTimeout at all,
> and, more importantly, doesn't flicker!
> By flickering I mean this http://screenr.com/Wpp
> http://elv1s.ru/files/web-inspector/fancy-autocomplete.html

I just applied the most recent patch locally. I think its great, but
after seeing and thinking about your non-flickering, non-setTimeout
approach, I think that approach is worth taking. Further, I think it
would be fine to take that approach without needing to rewrite
TextPrompt.

The reason I feel this is because:
  - the console completion must be async (results come from the inspected page)
  - the CSS completion is a static list of known values

We can optimize TextPrompt in the future to try to perform
the non-flicker autocompletion. It can do this by doing some
parsing of the string (as is already done) and determining if
the last set of results can be reused (no-flicker), or if a new
list must be fetched (flicker).

Still, its great to do small patches, so I think step 1, non-flicker
CSS autocompletion would be awesome. Think you can create
a new patch for this?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list