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

Editor text copy - new behavior #100

Open
wants to merge 1 commit into
base: master
from

Conversation

@urbanskimichal
Copy link

@urbanskimichal urbanskimichal commented May 10, 2020

This is proposal of the feature that I personally miss the most in PDE - copying / cutting whole lines.
When no text is selected and one presses Ctrl+c (Cmd+c) or Ctrl+x (Cmd+x), the whole text in the line on which the caret is, will be coped or cut.
It allows for easy lines duplicating etc.

* Selects all text in the given line.
* @param line The line number to select all text in it.
*/
public final void selectLine(final int line)

This comment has been minimized.

@sampottinger

sampottinger Jun 29, 2020
Collaborator

Hey @urbanskimichal! I think I'm in favor of the change if it isn't confusing to new users (I don't think it would be, it's common behavior for a lot of editors). However, could you say more about why you made this public?

@sampottinger
Copy link
Collaborator

@sampottinger sampottinger commented Jul 1, 2020

Hey there @urbanskimichal! I am doing a integration build so I modified the above to private. It's still ok to change back but wanted to make that edit before bringing this branch into integration. That is not reflected in your fork.

@sampottinger
Copy link
Collaborator

@sampottinger sampottinger commented Jul 1, 2020

@sampottinger
Copy link
Collaborator

@sampottinger sampottinger commented Jul 7, 2020

This is available on an integration branch at https://github.com/sampottinger/processing4 (master) for testing in the context of other open PRs with a community build at https://www.datadrivenempathy.com/processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.