Hi Dimitar,
My proposition:
- Opens the file, if not already open; that makes it's tab active
(same as before). 2. Stores the old filename and position. 2. Attempts to seek to the new position. 3. If successful [which implies that the file tab is activated], stores the new filename and position. 4. Otherwise, explicitly activates the file tab. 5. On Enter / double click, focuses the editor.
In a previous thread it was suggested that line 0 go to line 1, so why not make line "too big" go to last line? Wouldn't that make it all easier?
Cheers Lex