question regarding JspEditor

Hi:

What I want to do is to have 2 editors open to work on the same jsp file at

the same time. 1 of the editor is a netbean BaseJspEditor, the other one is

my own. I want the 2 editors to see the change user made in the other editor

immediatly before user actually saves the change to the jsp file on the

disk.

Any idea about can I do it? and how to do it?

Thanks!

[427 byte] By [Hu,Vivian] at [2007-11-25 16:49:11]
# 1

To get two views of the same file within netbeans, you can clone the view by right-clicking on the file's tab in the source editor. You won't be able to get two separate and distinct editor products to show the changes made by the other editor -- the editor must save the file changes to a common area from which both editors can get the changes, such as the disk. I doubt that the netbeans editor can attach and edit any workspace besides a file.

Tim

--Original Message--

From: Vivian Hu [mailto:vhu@altoweb.com]

Sent: Thursday, July 25, 2002 4:15 PM

To: 'nbusers@netbeans.org'; 'nbui@netbeans.org'

Subject: question regarding JspEditor

Hi:

What I want to do is to have 2 editors open to work on the same jsp file at

the same time. 1 of the editor is a netbean BaseJspEditor, the other one is

my own. I want the 2 editors to see the change user made in the other editor

immediatly before user actually saves the change to the jsp file on the

disk.

Any idea about can I do it? and how to do it?

Thanks!

Strawhacker,Tim at 2007-7-2 23:45:40 > top of Java-index,Archived Forums,Sun ONE Studio 4...
# 2

Thanks for the answer to my previous question.

Now another question:

I want to have 2 different editors open and work on the same jsp files at

the same time, 1 of the editors is netbean BaseJspEditor the other one is my

own editor showing a tree view of the jsp file (each node to be a jsp tag).

Is it possible that when I select a certain node in my tree view, and let

the BaseJspEditor know about the selection and show the text around that

tag?

Thanks!

--Original Message--

From: Tim Strawhacker [mailto:tstrawhacker@mqsoftware.com]

Sent: Thursday, July 25, 2002 2:35 PM

To: nbusers@netbeans.org

Subject: RE: question regarding JspEditor

To get two views of the same file within netbeans, you can clone the view by

right-clicking on the file's tab in the source editor. You won't be able to

get two separate and distinct editor products to show the changes made by

the other editor -- the editor must save the file changes to a common area

from which both editors can get the changes, such as the disk. I doubt that

the netbeans editor can attach and edit any workspace besides a file.

Tim

--Original Message--

From: Vivian Hu [mailto:vhu@altoweb.com]

Sent: Thursday, July 25, 2002 4:15 PM

To: 'nbusers@netbeans.org'; 'nbui@netbeans.org'

Subject: [nbusers] question regarding JspEditor

Hi:

What I want to do is to have 2 editors open to work on the same jsp file at

the same time. 1 of the editor is a netbean BaseJspEditor, the other one is

my own. I want the 2 editors to see the change user made in the other editor

immediatly before user actually saves the change to the jsp file on the

disk.

Any idea about can I do it? and how to do it?

Thanks!

Hu,Vivian at 2007-7-2 23:45:40 > top of Java-index,Archived Forums,Sun ONE Studio 4...