Open multiple instances of a file within a workspace?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Mikeggsm
Posts: 5
Joined: Tue Aug 18, 2009 8:28 pm

Open multiple instances of a file within a workspace?

Post by Mikeggsm »

E.g. if you write at a different spot inside the file with each instance.

Is that possible?

Thank you.
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

don't think so, BUT

Post by woho »

for writing at different spots you could
a) split the window
(menu 'window'/split or drag small bars at beginning of horizontal and vertical scrollbar)
=> you can scroll each part individually

b) use bookmarks
set bookmarks with <Ctrl><F2> use Find Dialog/Mark All Button
jump to the next bookmark with <F2>, previous with <Shift><F2>

regards
WoHo
Mikeggsm
Posts: 5
Joined: Tue Aug 18, 2009 8:28 pm

Post by Mikeggsm »

Thanks, but if possible I would like to have several tabs of the same file, just like you can open the same file several times on different instances of Textpad.

When you modify the file and switch to another tab of the same file, it would say that the file has been modified and ask to reload it, just like it does if you open multiple instances of Textpad ("Another application has updated file [...]. Reload it?")
Mikeggsm
Posts: 5
Joined: Tue Aug 18, 2009 8:28 pm

Post by Mikeggsm »

Just like the Window menu -> New Window or Duplicate Window command from various applications, it just shows another instance of the same window and you can then edit at another spot in the file.

That would be a nice feature to add.
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

questions

Post by woho »

i know the 'new window' command for example from firefox, but there you will not edit anything

in my opinion with such a feature in an editor questions arise:

- save command
when you save one instance but have changed also others you would lose all other changes ??
- reload
when you reload usually the undo stack is lost !

I'm sorry but I really don't see the point in this feature

do you really know an editor where you have several instances of the same file in one instance of the application ?
kitimat
Posts: 45
Joined: Tue Jul 20, 2004 5:44 pm

Post by kitimat »

Sounds to me that you may be looking for a folding aka collapsing text editor. Textpad does not have this feature yet.

kitimat
Mikeggsm
Posts: 5
Joined: Tue Aug 18, 2009 8:28 pm

Post by Mikeggsm »

Thanks for the answers.

woho:
UltraEdit has that feature. Actually I was wrong, it doesn't need to ask to reload the file or anything, the two windows are just different editing positions into the same portion of memory, so when you modify one window and switch to the other you instantly see the modifications.

Editing in two different windows is equivalent to scrolling toanother position, editing and then going back to the first position.
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

ok

Post by woho »

same portion of memory - that's something different

@kitimat
folding is definitely missing in textpad..
Post Reply