Notepad++ v8.7.1 Release Candidate
-
Hi @guy038,
I think this behaviour is correct like it is. The activeIndex property remembers the active tab you had selected (the tab you last looked at) at the respecting view while closing notepad++, so it can be restored at next launch.
-
@donho said in Notepad++ v8.7.1 Release Candidate:
It’s fixed in the commit: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/93ecbb004c8a216d17a8b940572a388f010c94ee
RC3 is available now.
Not fixed in RC3(?!):
-
Hello, @xomx,
As you positively reacted to the @markusbodensee’s reply, I suppose that my interpretation of the
session.xml
contents is somehow inexact !Could you briefly explain me what I miss ?
Thanks for your cooperation and for the many fixes realized !
Best Regards,
guy038
Note that I generally read the
session.xml
contents with Microsoft notepad, AFTER I closedN++
, to be sure ! -
He is right. That
activeIndex="..."
is what its name says - a (zero-based) index of the currently selected tab in the view (so not the number of files in the view). -
Hello, @don-ho, @markusbodensee, @xomx and All,
OH, MY GOD ! Thank you, @xomx for your explanations. I did not realize while reading @markusbodensee’s reply. Of course, I fully understand my so-called problem, now !
So Don, sorry for the noise. I always thought that these two numbers contain the total number of files of each view. Now, I understand that this information would be meaningless !
I was fooled by the fact that, when working on the most recent tab, the
active index
number is just equal to the total of files minus1
of the current view, as it is a based-0 number !Again, sorry for this exposed non-issue. I’m so unforgivable :-((
Best Regards,
guy038
-
Not fixed in RC3(?!):
I have tested again with your scenario, but cannot reproduce it.
What am I missing? -
@donho said in Notepad++ v8.7.1 Release Candidate:
I have tested again with your scenario, but cannot reproduce it.
What am I missing?I quickly checked your RC3 patch - all your changes are in/for the
Notepad_plus::fileSave
. This is not universal, as when I use the menu > File > Save As… (Ctrl+Alt+S), theNotepad_plus::fileSaveAs
will be used instead. -
-
@donho said in Notepad++ v8.7.1 Release Candidate:
I do belive it’s fixed in RC4
Perfect, now it is ok, thanks.
Not clearing that time-info, only not showing it for!DOC_UNNAMED
tabs is clever & universal. -
As I mentioned before - the localization of Global override is cut off. Check some of the localizations like Български, Deutsch, Hrvatski, Español and some others.
Български
Deutsch
-
@rddim
I will make as large as possible for some checkbox (without enlarging the dialog width) in the next release. Please find other shorter words or the abbreviation for the translation.