Ticket #442 (new enhancement)

Opened 5 years ago

Last modified 20 months ago

Save file types and tab positions with session

Reported by: schroeer Owned by:
Priority: trivial Milestone:
Component: editor Version: 0.38
Keywords: Cc:

Description

It would be nice if the 'save session' command could save the respective file types ('view as' language mode) and tab positions of the various files.

Thanks
Daniel

Change History

comment:1 Changed 5 years ago by szabgab

I am not sure if this goes along but IMHO Padre should always remember the "view as languages mode"
of any file it opened - if the user set that value even if that file was not part of a session.

comment:2 Changed 5 years ago by schroeer

PS: Luxurious editors even save the cursor position for each file...

comment:3 Changed 5 years ago by Sewi

Padre (now) saves the cursor position for each file, don't know at which time it was added.

All requested features of this ticket seem to be done, please either close it or add a comment which items are missing.

comment:4 Changed 20 months ago by mj41

These are saved

id => 'value',
file => 'value',
position => 'value', # Cursor position
focus => 'value',
session => 'value',

to array.

Tab position is saved (array index), but it is probably related to "wxAuiNotebook Tab Order" problem:

Last edited 20 months ago by mj41 (previous) (diff)
Note: See TracTickets for help on using tickets.