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

added default clipboard utility (ported from Eclipse environment), which should work on any non-headless JVM environment #1934

Merged
merged 6 commits into from
Apr 7, 2024

Conversation

jurgenvinju
Copy link
Member

@jurgenvinju jurgenvinju commented Apr 4, 2024

This adds util::Clipboard::{paste,copy} functions that do what you think they do.

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 49%. Comparing base (458fb89) to head (9085640).

Files Patch % Lines
src/org/rascalmpl/library/util/Clipboard.java 0% 14 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              main   #1934   +/-   ##
=======================================
- Coverage       49%     49%   -1%     
- Complexity    6165    6168    +3     
=======================================
  Files          661     662    +1     
  Lines        58700   58714   +14     
  Branches      8548    8548           
=======================================
+ Hits         28972   28973    +1     
- Misses       27535   27549   +14     
+ Partials      2193    2192    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jurgenvinju jurgenvinju requested a review from PaulKlint April 4, 2024 19:41
@jurgenvinju jurgenvinju self-assigned this Apr 4, 2024
@DavyLandman
Copy link
Member

Can we add 1 test, that puts something on the clipboard, and then takes it off?

@jurgenvinju jurgenvinju merged commit 18a80e7 into main Apr 7, 2024
6 of 7 checks passed
@jurgenvinju jurgenvinju deleted the clipboard branch April 7, 2024 15:55
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