- lazy Visual Editor update
The Visual editor is updated on every keystroke. I propose to postpone
the update for some time. This means - if a user enters a few keys
quickly, the Visual editor will be updated only once. There is the
org.eclipse.wst.sse.ui.sourcevalidation extenison point within the
Webtools project that can be used for adding this feature. It is also
possible to implement this feature using the code I added when fixing
http://jira.jboss.com/jira/browse/JBIDE-1479 (we could use 400 ms during
editing; this is the default value for the sourcevalidation extenison
point).
If we don't have that already (I thought we had) then definitly since I even
did that for my trivial HQL to SQL view and that gave a tremendous speedup (at
least it is perceived to the user as such)
- adding the Link (Synchronize) action to the Visual editor next to
the
Preferences, Refresh, Page Design Options actions.
This action would be a check box similar to the "Link with editor" in
the Package Explorer view. It would be checked/enabled by default. In
that case, the VPE would behave as it does now. If the user disables the
action, the VPE wouldn't be updated (VpeController.notifyChanged()
wouldn't be called). This would be very useful when editing large JSP
files. The user could always call Refresh (or check Link) to show the
visual part of the editor.
I see what you mean here, and I like the idea but what happens when the user
disabled the synchronization and changes from one part of the view to the other -
I guess it should be forcefully updated to make sure the two views are in sync when
they edit each others models ?
/max