Skip to content
New issue

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

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

Already on GitHub? # to your account

Clipboardtool: fix right-click menu bugs in issue #315 #316

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jacix
Copy link
Contributor

@jacix jacix commented Mar 27, 2024

This fixes #315

@jacix
Copy link
Contributor Author

jacix commented Mar 27, 2024

Fixed:

  • Deprecated hs.mouse.getAbsolutePosition vs of hs.mouse.absolutePosition.
  • Fixed type mismatch near line 241
  • Fixed special-paste actions, though limited it to only text clips (it skips anything else)
  • Translated special-paste actions to English

Added:

  • New special-paste action which uses commas as the delimiter

@cmsj cmsj closed this Aug 7, 2024
@cmsj cmsj reopened this Aug 7, 2024
@@ -230,26 +231,45 @@ function obj:pasteboardToClipboard(item_type, item)
_persistHistory() -- updates the saved history
end

-- Internal method: actions of the context menu, special paste
--- Internal method: actions of the context menu, special paste
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The third dash here is marking it as a docstring, which is not correct. If you drop it back to two dashes it will work fine.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClipboardTool uses deprecated hs.mouse.getAbsolutePosition; right-click menu has errors
2 participants