Skip to content

Conversation

@jgorinsky
Copy link

Indenting large files was locking up the UI thread, so I moved the function to a separate thread class and added a little status message while it's processing.

@alek-sys
Copy link
Owner

alek-sys commented Jan 5, 2013

Thanks for code! Won't it create any problems with accessing UI from background thread? I will do some smoke test and merge it a bit later

@jgorinsky
Copy link
Author

No prob. Hope it works for you.

The UI changes are still happening in the UI thread. It's just processing the indents in the separate thread. I think it will complain if the UI is accessed from a background thread.

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