scribble icon indicating copy to clipboard operation
scribble copied to clipboard

scribble-html button, don't open a new tab

Open bennn opened this issue 7 years ago • 2 comments

In DrRacket, every time I click the scribble-html button it opens a new tab in my browser --- even if I already have a tab open for the document.

It would be awesome if clicking the scribble-html button could refresh the existing page instead of opening a new one.

bennn avatar Mar 26 '18 19:03 bennn

IIRC, it uses the same code as opening the docs in DrRacket that f1 does.

On Mon, Mar 26, 2018 at 2:08 PM, Ben Greenman [email protected] wrote:

In DrRacket, every time I click the scribble-html button it opens a new tab in my browser --- even if I already have a tab open for the document.

It would be awesome if clicking the scribble-html button could refresh the existing page instead of opening a new one.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/racket/scribble/issues/167, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYWsJq-iHhFyoGG5wU4RB3LLoTt7s42ks5tiTyYgaJpZM4S7vhE .

rfindler avatar Mar 26 '18 19:03 rfindler

Yup, which is here: https://docs.racket-lang.org/net/sendurl.html

FWIW @bennn I agree it would be cool. But I'm not aware of an easy cross platform way to do it. But if major browsers have that functionality (which I suspect they do), it might be possible.

LeifAndersen avatar May 04 '18 18:05 LeifAndersen