Go to bug ID
Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Gorlash
Product/Version ?
Crimson Editor / Version 3.72 Beta 241
Status ?
Confirmed
Severity ?
Minor
Duplicate Of ?
- none -
Summary ?
default tab selection
Report Time ?
October 23, 2007 10:45:25 PM
Assignment ?
- none -
Resolution ?
Open
Priority ?
Normal
Dependencies ?
- none -


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

October 23, 2007 10:45:25 PM Gorlash
I really like the fact that CE remembers what files I previously had open, and restores them when I re-open it with no arguments. However, it is NOT remembering which of those files I was working on when the editor was closed, it always makes the Last file active. I would request that CE remember which of the open files was active when it was closed, and re-activate that file when opened back up.

October 29, 2007 12:59:16 AM Pvt_Ryan
Note for devs.

Current build (215) has the var
static INT CCedtView::m_currFileTab
it defaults to -1 if not set.

This should be saved to the ini file.

Warning if NO files are open upon closing this should be set to -1 to prevent an error in CMDIFileTab::SetActiveFileTab as it checks for >= 0 and if recorded incorrectly *could* result in a crash.

January 18, 2008 04:40:38 AM Phil
This should probably be an attribute of the root element in the .wks file. That way it sticks with the workspace settings that it is associated with instead of the general preferences.

May 16, 2008 01:24:39 AM Arantor
Additionally, if you close CE with a number of files open, then open a file with "Open with CE" from Explorer, it will open the new file first, then add everything else after it, which to me seems linked to this bug.