Add event type for viewport change events
CM editor handling of viewport events
Add event type for gutter clicks
Handle gutter clicks in cm editor
Add missing copyright headers