mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-28 21:02:59 +08:00
+ fix: view selection on wrapped long-lines vs. normalizing view
+ upd: grepWinNP3 version (v2.1.0.4)
This commit is contained in:
parent
243cd470db
commit
8a7048711f
@ -1 +1 @@
|
||||
411
|
||||
413
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
<assemblyIdentity
|
||||
name="Notepad3"
|
||||
processorArchitecture="*"
|
||||
version="5.20.411.1"
|
||||
version="5.20.413.1"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Notepad3 NF</description>
|
||||
|
||||
@ -4980,7 +4980,8 @@ void EditSetSelectionEx(DocPos iAnchorPos, DocPos iCurrentPos, DocPos vSpcAnchor
|
||||
else {
|
||||
SciCall_SetSel(iAnchorPos, iCurrentPos); // scrolls into view
|
||||
}
|
||||
EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
//~EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
EditEnsureSelectionVisible();
|
||||
}
|
||||
|
||||
//~~~_END_UNDO_ACTION_;~~~
|
||||
@ -6877,7 +6878,8 @@ void EditSelectionMultiSelectAll()
|
||||
if (iMainAnchor > iMainCaret) {
|
||||
SciCall_SwapMainAnchorCaret();
|
||||
}
|
||||
EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
//~EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
EditEnsureSelectionVisible();
|
||||
|
||||
SciCall_SetTargetRange(saveTargetBeg, saveTargetEnd); //restore
|
||||
}
|
||||
|
||||
@ -4871,7 +4871,8 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
|
||||
case IDM_EDIT_SELTONEXT:
|
||||
{
|
||||
SciCall_RotateSelection();
|
||||
EditNormalizeView(Sci_GetCurrentLineNumber());
|
||||
//~EditNormalizeView(Sci_GetCurrentLineNumber());
|
||||
EditEnsureSelectionVisible();
|
||||
}
|
||||
break;
|
||||
|
||||
@ -4884,7 +4885,8 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
|
||||
DocPosU const iNewMain = SciCall_GetSelections() - 1;
|
||||
SciCall_SetMainSelection(iNewMain);
|
||||
}
|
||||
EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
//EditNormalizeView(Sci_GetCurrentLineNumber()); // normalize view
|
||||
EditEnsureSelectionVisible();
|
||||
}
|
||||
break;
|
||||
|
||||
@ -9516,7 +9518,8 @@ bool FileLoad(bool bDontSave, bool bNew, bool bReload,
|
||||
else if ((iCaretPos >= 0) && (iAnchorPos >= 0))
|
||||
{
|
||||
SciCall_SetSel(iAnchorPos, iCaretPos); // scroll into view
|
||||
EditNormalizeView(Sci_GetCurrentLineNumber());
|
||||
//~EditNormalizeView(Sci_GetCurrentLineNumber());
|
||||
EditEnsureSelectionVisible();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#define SAPPNAME "Notepad3"
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 20
|
||||
#define VERSION_REV 411
|
||||
#define VERSION_REV 413
|
||||
#define VERSION_BUILD 1
|
||||
#define SCINTILLA_VER 432
|
||||
#define ONIGURUMA_REGEX_VER 6.9.5
|
||||
|
||||
2
test/test_files/others/jquery_long_line.txt
Normal file
2
test/test_files/others/jquery_long_line.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user