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

next: Add more keyboard shortcut #415

Merged
merged 5 commits into from
Nov 8, 2018
Merged

Conversation

zsalch
Copy link
Contributor

@zsalch zsalch commented Oct 31, 2018

Add more keyboard shortcut:

  1. Press key 'M' for switch the move number display

    Not show -> Show all move number -> Show last move number

  2. Press key Ctrl + Left arrow to jump the variation top

  3. Press key Ctrl + Shift + Up/Down to jump the previous/next the node with comment

  4. Press Ctrl+Home to clear board

}
node = next;
}
return moves;
Copy link
Contributor

Choose a reason for hiding this comment

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

The int returned here is never used, same comment for the next method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It return value will be used by the function goCommentNode in the Input.java

Copy link
Contributor

Choose a reason for hiding this comment

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

Alright, then you might wan't to add a one line javadoc @returns ... :)

src/main/java/featurecat/lizzie/gui/Input.java Outdated Show resolved Hide resolved
src/main/java/featurecat/lizzie/Config.java Outdated Show resolved Hide resolved
Copy link
Contributor

@OlivierBlanvillain OlivierBlanvillain left a comment

Choose a reason for hiding this comment

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

Looks good!

@featurecat featurecat merged commit 0f3e649 into featurecat:next Nov 8, 2018
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.

3 participants