fabioz/Pydev — pull request #6 by andreberg (2013-05-20 04:13:59+00:00)
Title: PyEditor save actions: auto-update module level date variable + 1 FontUtils enhancement

**New feature**: PyEditor save actions. First action updates a module level date field.

I first did this with a Jython onSave action but realizing that onSave fires after the buffer was already saved and since I needed to change the buffer (this can trigger an endless save loop if not careful) I opted to actually whip this up in Java. Added bonus: its own prefs page for easy on/off toggle.

Screenshots showcasing the save actions can be found on my [changelog](http://github.com/andreberg/Pydev/wiki/Changelog) wiki entry.

**Enhancement**: I added a getFontData method that gives the caller the freedom to ask for font data with a style mask other than SWT.BOLD. Previously the only available getFontData method would always return SWT.BOLD masked font data. I also retained the unchanged getFontData method so nothing in existing code breaks.

_(this change in part actually was because of a bug fix [pull request](https://github.com/aptana/Pydev/pull/50) for Aptana's Pydev version with their Aptana Theme scopes Pydev prefs section where it had the [unreadable font size problem](http://github.com/andreberg/Pydev/wiki/Changelog) on OS X again because FontUtils and IFontUsage weren't used.)._

Thusly: FontUtils version bumped to 0.2