+ fix: Focused-View scrolling

This commit is contained in:
RaiKoHoff 2020-03-17 08:45:28 +01:00
parent 8cf1ba6be9
commit f3ee0029c7
6 changed files with 8 additions and 7 deletions

View File

@ -1 +1 @@
3
1

View File

@ -1 +1 @@
316
317

View File

@ -3,7 +3,7 @@
<assemblyIdentity
name="Notepad3"
processorArchitecture="*"
version="5.20.316.3"
version="5.20.317.1"
type="win32"
/>
<description>Notepad3 RC3</description>

View File

@ -6983,6 +6983,7 @@ void EditToggleView(HWND hwnd)
}
else {
Sci_ScrollToLine(Sci_GetCurrentLineNumber());
SciCall_ScrollCaret();
SciCall_SetReadOnly(false);
}

View File

@ -599,7 +599,7 @@ inline DocPos Sci_GetRangeMaxLineLength(DocLn iBeginLine, DocLn iEndLine) {
}
// respect VSlop settings
#define Sci_ScrollToLine(L) SciCall_ScrollRange(SciCall_GetLineEndPosition(L), SciCall_PositionFromLine(L));
#define Sci_ScrollToLine(L) SciCall_ScrollRange(SciCall_PositionFromLine(L), SciCall_GetLineEndPosition(L))
#define Sci_ReplaceTarget(M,L,T) (((M) == SCI_REPLACETARGET) ? SciCall_ReplaceTarget((L),(T)) : SciCall_ReplaceTargetRe((L),(T)))

View File

@ -8,12 +8,12 @@
#define SAPPNAME "Notepad3"
#define VERSION_MAJOR 5
#define VERSION_MINOR 20
#define VERSION_REV 316
#define VERSION_BUILD 3
#define VERSION_REV 317
#define VERSION_BUILD 1
#define SCINTILLA_VER 432
#define ONIGURUMA_REGEX_VER 6.9.4
#define UCHARDET_VER 2018.09.27
#define TINYEXPR_VER 2018.05.11
#define UTHASH_VER 2.1.0
#define VERSION_PATCH RC3
#define VERSION_COMMIT_ID dkt1-amr
#define VERSION_COMMIT_ID t7820-rk