Re: Split-pane editing

Sorawee Porncharoenwase <[email protected]> Wed, 30 Dec 2020 04:02:22 -0800
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CADcuegtmM7uX3xEePTraNkE6=ggXgWHGTDwhYUiGkO=+w-621g@mail.gmail.com>
It’s definitely possible to view two portions of a file side by side,
using View
> Split
<https://docs.racket-lang.org/drracket/Menus.html#%28part._menu~3aview%29>.
See the screenshot below. But it doesn’t seem to be possible to view two
different files side by side. Nonetheless, it should be straightforward to
create a DrRacket extension to do that.

[image: Screen Shot 2020-12-30 at 3.57.18 AM.png]


On Wed, Dec 30, 2020 at 3:38 AM John Kemp <[email protected]>
wrote:

> I have recently been trying to do this too, as it looks like DrRacket
> *should* allow this…
>
> On Dec 30, 2020, at 4:45 AM, Laurent <[email protected]> wrote:
>
> in DrRacket you can hit View|Split, and you can split multiple times.
>
>
> That’s true, but that doesn’t seem to result in the same behavior as
> emacs, where it is possible to view two different files side-by-side,
> rather than one file of definitions in one pane, and the ‘interactions’ in
> the other pane. I can hide the interactions, but then I seem to have two
> panes which can only display the same functions and which scroll together,
> making even looking at two different functions in the same file, impossible
> (AFAICT).
>
> - johnk
>
>
> On Tue, Dec 29, 2020 at 10:53 PM Hendrik Boom <hendrik-e9JHxFxFq/[email protected]>
> wrote:
>
>> When editing code in emacs, I oftern split the pane so I have views on
>> two parts of a
>> file.
>> Typically, this is so I can see a function definition in one pane at the
>> same time as I
>> see a corresponding function application in another pane.
>> Sometimes, this escalates to three panes.
>>
>> Is there any way to do something similar in drracket?
>>
>> -- hendrik
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/20201229225319.jtxd73vfv4zxok2j%40topoi.pooq.com
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CABNTSaGe9pzYig4bBjfVA5YJH5u%2BA%2Bn5OQVwE5fdqNWEAXR5tQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CABNTSaGe9pzYig4bBjfVA5YJH5u%2BA%2Bn5OQVwE5fdqNWEAXR5tQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/6D8FF830-752C-4459-A55B-63D5E4184EBA%40gmail.com
> <https://groups.google.com/d/msgid/racket-users/6D8FF830-752C-4459-A55B-63D5E4184EBA%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CADcuegtmM7uX3xEePTraNkE6%3DggXgWHGTDwhYUiGkO%3D%2Bw-621g%40mail.gmail.com.
Screen Shot 2020-12-30 at 3.57.18 AM.png (image/png, 729.9 KB) - not displayed