live shell on the website

조회수 28회
읽지 않은 첫 메시지로 건너뛰기

Nico

읽지 않음,
2015. 8. 24. 오후 5:00:4115. 8. 24.
받는사람 sympy
I've been using Sympy in the past few weeks more than ever before, and I have to say it's been quite a nice experience.

As a an almost-newcomer, the single most annoying thing was that you can't copy-and-paste code from the website. Every time I select code from the documentation on [1], the live shell opens with seemingly unrelated code ("I didn't ask for this!"), and after hiding it, I find myself on another place in the documentation. Yikes!

Other than that great work. I particularly appreciate the helpfulness of this "mailing list".

Cheers,
Nico


Sudhanshu Mishra

읽지 않음,
2015. 8. 24. 오후 6:37:4115. 8. 24.
받는사람 sy...@googlegroups.com
Hi

I like the idea. The live shell is useful in general but it would be a nice thing to have an additional button which copies the plain code from a particular box.

 and after hiding it, I find myself on another place in the documentation. Yikes!

This happens because the live shell tries to accommodate itself without covering text.

Sudhanshu Mishra

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/58147b7b-8128-4346-a2cd-5b465777fb42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aaron Meurer

읽지 않음,
2015. 8. 25. 오후 8:52:5515. 8. 25.
받는사람 sy...@googlegroups.com
There's probably a way we can make a selection not register as a click. Any Javascript experts here?

Aaron Meurer

Waldir Pimenta

읽지 않음,
2015. 8. 26. 오전 10:55:0315. 8. 26.
받는사람 sympy
AFAIK it should be possible, by registering the x and y coordinates of the mousedown event, and comparing with the coordinates of the mouseup event. And maybe the timestamp as well. If both are sufficiently distant from the original ones, then the drag code should be executed, otherwise the click code should.
전체답장
작성자에게 답글
전달
새 메시지 0개