Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

ANSI Support: store HTML format in the clipboard (#85) - #86

Merged
laeubi merged 2 commits into
eclipse-platform:masterfrom
mihnita:master
Oct 12, 2022
Merged

laeubi merged 2 commits into
eclipse-platform:masterfrom
mihnita:master

Conversation

@mihnita

@mihnita mihnita commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Fixed.

See attached the results of the paste in MS Word.
I've changed the document to blue to make the white text from Eclipse more visible.
And I used the Eclipse dark theme to check that the background works properly in the clipboard.

image

@laeubi

laeubi commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

I wonder if "copy without ansi escape" should not be the default and copy with an extra option. I can't think about a use case where copy of the escape chars could be useful (beside debugging), especially for RTF and HTML...

@merks

merks commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Yes. People have pasted those into a forum posting breaking the feed with strange/bad/invalid characters.

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2008

@laeubi

laeubi commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Yes. People have pasted those into a forum posting breaking the feed with strange/bad/invalid characters.

Really? :-D


https://xkcd.com/327

@mihnita

mihnita commented Oct 5, 2022

Copy link
Copy Markdown
Contributor Author

Jenkins:

10:26:49.458 [ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:3.0.0:compare-version-with-baselines (compare-attached-artifacts-with-release) on project org.eclipse.ui.console: Only qualifier changed for (org.eclipse.ui.console/3.11.300.v20221005-1008). Expected to have bigger x.y.z than what is available in baseline (3.11.300.v20220811-1921) -> [Help 1]

Should I bump the version? To what?

Thanks,
M.

@laeubi

laeubi commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Should I bump the version? To what?

3.11.300 > 3.11.400

@mihnita

mihnita commented Oct 5, 2022

Copy link
Copy Markdown
Contributor Author

I wonder if "copy without ansi escape" should not be the default and copy with an extra option. I can't think about a use case where copy of the escape chars could be useful (beside debugging), especially for RTF and HTML...

I also got this report:
mihnita/ansi-econsole#65 (comment)
:-)

See my answer there.


For the default copy behavior discussion during the integration see
#57

Reading it again, it was not so much about strictly "don't hijack the standard copy", but mostly a mixture of technical limitations / my lack of knowledge.
The context menu "Copy" in the console didn't show the "Ctrl+C" binding anymore.
And I didn't know how to really replace that command, instead of just "steal the hotkey"

@laeubi

laeubi commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

The context menu "Copy" in the console didn't show the "Ctrl+C" binding anymore.
And I didn't know how to really replace that command, instead of just "steal the hotkey"

@vogella can you help here?

@mihnita

mihnita commented Oct 5, 2022

Copy link
Copy Markdown
Contributor Author

We can maybe have a separate issue for the default Copy behavior, and how to do it?
M.

@laeubi

laeubi commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

We can maybe have a separate issue for the default Copy behavior, and how to do it? M.

Yes!

@mihnita

mihnita commented Oct 5, 2022

Copy link
Copy Markdown
Contributor Author

Created eclipse-platform/eclipse.platform#536 for the default Copy.

@mihnita

mihnita commented Oct 12, 2022

Copy link
Copy Markdown
Contributor Author

Gentle ping :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants