vrapper/vrapper — pull request #48 by albertdev (2012-02-28 22:33:26+00:00)
Title: Fix for issue 43: recording disappears when recording a macro

I've fixed issue vrapper/vrapper#43 by making some custom ContributionItem paint code.

This item now paints the mode wider and will print "recording" when recording mode is on. This has nothing to do with Eclipse's status line, so "recording" won't disappear.

I've fixed some other minor issue and removed the uppercase conversion of the mode name (I want to use a lowercase mode name in some other feature later on).

Also note that I refactored all modes to return a pre-formatted "display name" from a new function in the EditorMode interface. The latter allows for I18N / L10N, and also gives some control over the mode names, separate from the unique name of a mode.