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

Excluding blank lines from the count. #6

Open
JohnLukeBentley opened this issue Mar 6, 2022 · 2 comments
Open

Excluding blank lines from the count. #6

JohnLukeBentley opened this issue Mar 6, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@JohnLukeBentley
Copy link

I suggest either:

(Recommended) An additional count that excludes blank lines. Perhaps for a presentation like

Selected 4 Lines (3 non-blank lines)

... or ...

An option to exclude blank lines from the count.

@gurumukhi
Copy link
Owner

Excellent suggestion. Thanks.

@gurumukhi gurumukhi added enhancement New feature or request good first issue Good for newcomers labels Mar 13, 2022
@smoochy
Copy link

smoochy commented Apr 15, 2023

I don't know JS myself, hence I won't be able to put up a PR, but I found, that there is this .isEmptyOrWhitespace thing which might help to achieve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants