Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyEditor save actions: auto-update module level date variable + 1 FontUtils enhancement #6

Merged
merged 3 commits into from
Jul 30, 2013

Conversation

andreberg
Copy link
Contributor

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 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 for Aptana's Pydev version with their Aptana Theme scopes Pydev prefs section where it had the unreadable font size problem on OS X again because FontUtils and IFontUsage weren't used.).

Thusly: FontUtils version bumped to 0.2

@fabioz fabioz merged commit ce7f300 into fabioz:development Jul 30, 2013
jamesblackburn added a commit to man-group/Pydev that referenced this pull request Sep 18, 2017
… master

* commit 'bf18028da04c8bfe9674aac3c0954eac933d050f': (239 commits)
  PyDev 5.9.2
  Preparing for PyDev 5.9.2
  Fix for #PyDev-838: PyDev.Debugger 5.9.0 and 5,9.1 crashes at startup
  Properly adding generated .c file to distribution.
  Another fix in the debugger.
  Updating homepage for 5.9.1
  #PyDev-817: Error on autocomplete with IPython on interactive console
  Marking PyDev as 5.9.1
  Changing path to path in conda for template.
  Accept ordered dict for resolving vars.
  #PyDev-825: Internal PyDev Error with empty f-string inside block statement
  Removed remainin dict_pop (which no longer exists).
  Adding isort support (still need to improve DocUtils auxiliary method).
  Done release 5.9.0
  Homepage updates (for 5.9.0)
  Fixing build issue (referencing /icons which didn't exist), updating Bundle-Vendor.
  Build showing errors
  Signing with a proper certificate (not self-signed).
  Updating homepage to 5.9.0
  Updated debugger (python 3.6 speedups), updated version to 5.9.0
  ...
thejcannon pushed a commit to thejcannon/Pydev that referenced this pull request Dec 5, 2022
improve ndarray resolver for work with string arrays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants