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

[bug] Trim not working (and leading and trailing trim are not available). #373

Open
7ombie opened this issue Oct 17, 2023 · 0 comments
Open

Comments

@7ombie
Copy link

7ombie commented Oct 17, 2023

I recently installed Boop (very cool, by the way), and tried to write an extension for stripping newlines intelligently (preserving paragraphs and indentation). I didn't want to (substantially) complicate the code to handle an obscure corner case related to trailing whitespace, as I assumed Boop could remove trailing spaces already.

When I enter trim in the search-bar, only Trim (trim leading and trailing whitespace) shows up in the list. There're no options for only removing leading or trailing spaces. Furthermore, when I run Trim, nothing happens (at all). I tried selecting text - everything I could think of, and nothing worked.

I only knew that Boop supported all three trim functions because the PR came up when I searched for issues before opening this. There may be other functions that are missing from the list??

Note: I haven't installed my extension yet (I was developing it in the browser, so it'd be mostly done when I copied it to Boop). The only thing I've done is change the extensions directory (to ~/Projects/boop). That directory is empty (ignoring hidden system files).

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

No branches or pull requests

1 participant