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

Conversation

@livecodepanos
Copy link
Contributor

No description provided.

@livecodepanos livecodepanos added this to the 9.0.1-rc-1 milestone May 7, 2018
# bug 17819 enable cmd+c in dictionary
on commandKeyDown pWhich
if pWhich is not "C" then
if pWhich is not "C" and pWhich is not "A" then
Copy link
Member

Choose a reason for hiding this comment

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

Could we make this a switch as the logic is quite confusing, and comment the code, something like

switch pWhich
case "A"
-- trap Cmd + A for select all
case "C"
-- trap Cmd + C for copy
break
case "W"
close me
break
default
pass commandKeyDown
end switch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea :)

@livecodeali
Copy link
Member

@livecode-vulcan review ok fd57957

@livecode-vulcan
Copy link

💙 review by @livecodeali ok fd57957

@livecodepanos livecodepanos merged commit 4cae6ff into develop-9.0 May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants