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

Decrypt / uncrypt and syntax hilight in a web worker if available #50

Open
sametmax opened this issue Jul 7, 2013 · 3 comments
Open

Comments

@sametmax
Copy link
Contributor

sametmax commented Jul 7, 2013

It will prevent the UI from blocking and should feel faster.

Also, we should start processing the paste before the page rendering (as soon as we got the paste data available), and send events to update the progress bar. The main thread, when dom is ready, will hook on those events and be avaible to udate the css class accordingly.

@Natim
Copy link
Contributor

Natim commented Jul 7, 2013

You mean using a Pygment http API ?

2013/7/7 sametmax notifications@github.com

It will prevent the UI from blocking and should feel faster.

Also, we should start processing the paste before the page rendering (as
soon as we got the paste data available), and send events to update the
progress bar. The main thread, when dom is ready, will hook on those events
and be avaible to udate the css class accordingly.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50
.

@sametmax
Copy link
Contributor Author

sametmax commented Jul 7, 2013

No, I mean using actual javascript webworker to do what we are
currently doing in an other thread instead of the main thread.

Le dim. 07 juil. 2013 20:44:45 CEST, Natim a écrit :

You mean using a Pygment http API ?

2013/7/7 sametmax notifications@github.com

It will prevent the UI from blocking and should feel faster.

Also, we should start processing the paste before the page rendering
(as
soon as we got the paste data available), and send events to update the
progress bar. The main thread, when dom is ready, will hook on those
events
and be avaible to udate the css class accordingly.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/50
.


Reply to this email directly or view it on GitHub
#50 (comment).

@CorbanR
Copy link

CorbanR commented Nov 4, 2015

@sametmax that would be a really nice feature. Currently on larger pastes syntax highlight is slow.(And by large I mean like 3.5 mb)

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

3 participants