Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » split view of same file
split view of same file [message #275659] Wed, 10 November 2004 13:33 Go to next message
Eclipse UserFriend
How can I get multiple views of the same file?
ie: see two locations of the same file at the same time
Re: split view of same file [message #275695 is a reply to message #275659] Thu, 11 November 2004 05:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Calvin R. Smith wrote:

>How can I get multiple views of the same file?
>ie: see two locations of the same file at the same time
>
>
Currently only by opening two workbench windows (Window > New Window).

Dani
Re: split view of same file [message #276063 is a reply to message #275695] Tue, 16 November 2004 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michaelm.nospam.invalid.net

On Thu, 11 Nov 2004 11:51:43 +0100, Daniel Megert
<daniel.megert@gmx.net> wrote:

>Calvin R. Smith wrote:
>
>>How can I get multiple views of the same file?
>>ie: see two locations of the same file at the same time
>>
>Currently only by opening two workbench windows (Window > New Window).

This is a glaring shortcoming of the editor environment in my opinion.
I hope someone is working on allowing split views in the same window
for the same file.

I can use Bookmarks to get to info in different parts of the same
file, but a split view of the same file would be more convenient. At
least the return from the bookmark typically lands the cursor at the
same insertion point where I was editing.

---
Michael McCulloch
Re: split view of same file [message #276155 is a reply to message #276063] Thu, 18 November 2004 11:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: leo.nowhere.com

Michael McCulloch wrote:

> On Thu, 11 Nov 2004 11:51:43 +0100, Daniel Megert
> <daniel.megert@gmx.net> wrote:

>>Calvin R. Smith wrote:
>>
>>>How can I get multiple views of the same file?
>>>ie: see two locations of the same file at the same time
>>>
>>Currently only by opening two workbench windows (Window > New Window).

> This is a glaring shortcoming of the editor environment in my opinion.
> I hope someone is working on allowing split views in the same window
> for the same file.

> I can use Bookmarks to get to info in different parts of the same
> file, but a split view of the same file would be more convenient. At
> least the return from the bookmark typically lands the cursor at the
> same insertion point where I was editing.

> ---
> Michael McCulloch

But there is already a patch for 3.0.1

https://bugs.eclipse.org/bugs/show_bug.cgi?id=8009

LeO
Re: split view of same file [message #276173 is a reply to message #276155] Thu, 18 November 2004 15:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michaelm.nospam.invalid.net

On Thu, 18 Nov 2004 16:25:23 +0000 (UTC), leo@nowhere.com (LeO) wrote:

>But there is already a patch for 3.0.1
>
>https://bugs.eclipse.org/bugs/show_bug.cgi?id=8009

Thanks, I downloaded the patch. The instructions say:

"To patch it is best to download a clean eclipse binary install kit,
unpack it, then unpack this zip to a temporary folder on your
filesystem. copy the org.eclipse.ui.workbench.texteditor_3.0.1 folder
into the newly installed eclipse plugin directory to overwrite the
current workbench.texteditor plugin. Next, use the clasess under
"classes" to update the jar in the org.eclipse.ui.workbench_3.0.1 to
have the new WorkbenchPage and IWorkbenchPage classes."

I do not understand the last sentence. What action am I supposed to do
to make the plug-in work? It currently doesn't do anything as I don't
follow the last sentence of the above. How do you "update the jar"?

===
Michael McCulloch
Re: split view of same file [message #276177 is a reply to message #276173] Thu, 18 November 2004 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michaelm.nospam.invalid.net

On Thu, 18 Nov 2004 15:32:13 -0500, I wrote:

>On Thu, 18 Nov 2004 16:25:23 +0000 (UTC), leo@nowhere.com (LeO) wrote:
>
>>But there is already a patch for 3.0.1
>>
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=8009
>
>Thanks, I downloaded the patch. The instructions say:
>
>"To patch it is best to download a clean eclipse binary install kit,
>unpack it, then unpack this zip to a temporary folder on your
>filesystem. copy the org.eclipse.ui.workbench.texteditor_3.0.1 folder
>into the newly installed eclipse plugin directory to overwrite the
>current workbench.texteditor plugin. Next, use the clasess under
>"classes" to update the jar in the org.eclipse.ui.workbench_3.0.1 to
>have the new WorkbenchPage and IWorkbenchPage classes."
>
>I do not understand the last sentence. What action am I supposed to do
>to make the plug-in work? It currently doesn't do anything as I don't
>follow the last sentence of the above. How do you "update the jar"?

Ok, I used WinZip to add to the workbench.jar the WorkbenchPage and
IWorkbenchPage classes. However, Ctrl-2 still doesn't do anything...

Anyone got this working with Eclipse 3.0.1 and CDT 2.0.2?

---
Michael McCulloch
Re: split view of same file [message #276178 is a reply to message #276177] Thu, 18 November 2004 17:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michaelm.nospam.invalid.net

On Thu, 18 Nov 2004 17:07:35 -0500, Michael McCulloch
<michaelm@nospam.invalid.net> wrote:

>>Thanks, I downloaded the patch. The instructions say:
>>
>>"To patch it is best to download a clean eclipse binary install kit,
>>unpack it, then unpack this zip to a temporary folder on your
>>filesystem. copy the org.eclipse.ui.workbench.texteditor_3.0.1 folder
>>into the newly installed eclipse plugin directory to overwrite the
>>current workbench.texteditor plugin. Next, use the clasess under
>>"classes" to update the jar in the org.eclipse.ui.workbench_3.0.1 to
>>have the new WorkbenchPage and IWorkbenchPage classes."
>>
>>I do not understand the last sentence. What action am I supposed to do
>>to make the plug-in work? It currently doesn't do anything as I don't
>>follow the last sentence of the above. How do you "update the jar"?
>
>Ok, I used WinZip to add to the workbench.jar the WorkbenchPage and
>IWorkbenchPage classes. However, Ctrl-2 still doesn't do anything...
>
>Anyone got this working with Eclipse 3.0.1 and CDT 2.0.2?

Well, this is a nice conversation I'm having with myself...

Ok. I have the patch working. The key was that the path shown in
Winzip when I added the files has to match the folder structure
already there, namely "org/eclipse/ui/" for the IWorkbenchPage.class
file and "org/eclipse/ui/internal" for the other classes.

You can trick Winzip into doing this by copying the org folder (and
all subfolders) of the org.eclipse.ui.workbench_3.0.1 patch tree to
the root level of your C drive. Then use Winzip to "Freshen" the
workbench.jar and be sure to check "Save full path info".

Hope that helps someone else. The patch seems to work fine with CDT
2.0.2.

---
Michael McCulloch
Re: split view of same file [message #276201 is a reply to message #276155] Fri, 19 November 2004 02:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: unknown.nodomain.com

Does it work also with 3.1-M3?

Zsolt

"LeO" <leo@nowhere.com> schrieb im Newsbeitrag
news:cniidj$6dq$1@www.eclipse.org...
> Michael McCulloch wrote:
>
>> On Thu, 11 Nov 2004 11:51:43 +0100, Daniel Megert
>> <daniel.megert@gmx.net> wrote:
>
>>>Calvin R. Smith wrote:
>>>
>>>>How can I get multiple views of the same file? ie: see two locations of
>>>>the same file at the same time
>>>>
>>>Currently only by opening two workbench windows (Window > New Window).
>
>> This is a glaring shortcoming of the editor environment in my opinion.
>> I hope someone is working on allowing split views in the same window
>> for the same file.
>
>> I can use Bookmarks to get to info in different parts of the same
>> file, but a split view of the same file would be more convenient. At
>> least the return from the bookmark typically lands the cursor at the
>> same insertion point where I was editing.
>
>> ---
>> Michael McCulloch
>
> But there is already a patch for 3.0.1
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=8009
>
> LeO
>
Re: split view of same file [message #276203 is a reply to message #276201] Fri, 19 November 2004 03:49 Go to previous message
Eclipse UserFriend
Originally posted by: leo.nowhere.com

Don't think so.

BUT if you are interested, why not post in the bug there? AND add yourself
to the voters?

LeO

Zsolt wrote:

> Does it work also with 3.1-M3?

> Zsolt

>> But there is already a patch for 3.0.1
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=8009
>>
>> LeO
>>
Previous Topic:How can I make editor contributed toolbar actions enabled when editor is not focused?
Next Topic:Contributing To Eclipse for Ecpse 3??
Goto Forum:
  


Current Time: Fri Jul 18 15:40:08 EDT 2025

Powered by FUDForum. Page generated in 0.07339 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top