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

typing of snippet title slows ... #24

Open
jeaninem71 opened this issue Mar 29, 2021 · 6 comments
Open

typing of snippet title slows ... #24

jeaninem71 opened this issue Mar 29, 2021 · 6 comments

Comments

@jeaninem71
Copy link

After I add several new snippets, maybe 5 or so, typing the title into each new snippets is very slow to respond, it gets slower with each new snippet. I then have to restart the app and it works fine again until I have added several more new snippets and it lags again.

@marshallino16
Copy link
Collaborator

Hi,

Sorry for that!
I'll take a look at it this week and publish a fix

@marshallino16
Copy link
Collaborator

Only the title section is slow?
Not the code editor?

@jeaninem71
Copy link
Author

The code editor is slow also. Sorry, I only noticed the title at the time because I was copying and pasting and only typing the title. But, yes, the title and the editor are slow.

Thanks!

Only the title section is slow?
Not the code editor?

@jeaninem71
Copy link
Author

jeaninem71 commented Apr 6, 2021

Below you will see a screen recording of me typing. This is only after adding 3 small snippets, as you can see I pasted the 2nd line and it's much quicker. I type quick so you can see how aggravating this can be. After I quit the app then open it again, it's back to normal, until I type for a few minutes then it starts to lag and slows to a crawl.

snip.screen.recording.mov

@jeaninem71
Copy link
Author

I wanted to let you know that I did notice the lagging starts at about 400 characters/80 words/9 lines. By 900 characters/180 words/9 lines it is very slow. I can type 2 lines and it's only on the third word. I can also click on the line above the last line while it is slowly typing it out and it will continue that line wherever my cursor was placed. I hope this gives you a good idea on how much it takes before it's driving me crazy. 😆

Thanks for the continued improvements!

@marshallino16
Copy link
Collaborator

Yes it's very helpful thank you!

It might be because of the saving process (forcing back SwiftUI to reload some components content).

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

2 participants