Skip to content

Add/remove keyboard shortcuts for FilterInput StringGadget#376

Open
ChrisRfr wants to merge 2 commits intofantaisie-software:develfrom
ChrisRfr:devel
Open

Add/remove keyboard shortcuts for FilterInput StringGadget#376
ChrisRfr wants to merge 2 commits intofantaisie-software:develfrom
ChrisRfr:devel

Conversation

@ChrisRfr
Copy link
Copy Markdown
Contributor

Add/remove the 4 main keyboard shortcuts (Ctrl+A, Ctrl+C, Ctrl+X, Ctrl+V) to restore the standard behavior for FilterInput StringGadget when they gain/lose focus

To replace the generic way, used previously, when the Scintilla component loses/gains focus
But with this generic way, these shortcuts (cut, copy, paste) no longer work in Form Designer, see: https://www.purebasic.fr/english/viewtopic.php?t=88746

Add/remove the 4 main keyboard shortcuts to restore the standard behavior for FilterInput StringGadget when they gain/lose focus
@fantaisie-software
Copy link
Copy Markdown
Owner

No, there generic way is much better as all the tools are affected. We just need to add them when the form is activated and remove it when it loose focus

@ChrisRfr
Copy link
Copy Markdown
Contributor Author

I understand of course. And you're right not to give up on the generic way :)

But I felt responsible and 6.40 is out now. I wanted to suggest a fix as soon as possible and
I don't know how to do this in FormDesigner, or I just need some help figuring out where it should be added.

Of course, you can close this PR

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