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

Added range concise one based function #2742

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Added range concise one based function #2742

merged 3 commits into from
Jan 21, 2025

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Jan 21, 2025

The current concise function is 0-based, but sometimes when doing debug prints it's easier to have the positions be 1-based to match vscode ui.

Checklist

  • I have added tests
  • [/] I have updated the docs and cheatsheet
  • [/] I have not broken the cheatsheet

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner January 21, 2025 12:15
* Return a concise string representation of the position. 1-based.
* @returns concise representation
**/
public conciseOneBase(): string {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public conciseOneBase(): string {
public conciseOneBased(): string {

@phillco phillco enabled auto-merge January 21, 2025 18:22
@phillco phillco added this pull request to the merge queue Jan 21, 2025
Merged via the queue into main with commit 3d1447c Jan 21, 2025
15 checks passed
@phillco phillco deleted the conciseOneBase branch January 21, 2025 18:43
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