mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
Merge pull request #2389 from RaiKoHoff/grepWin_Integration
Fix mismatch debug/release x64/Win32 config
This commit is contained in:
commit
a2f44b6063
@ -343,8 +343,8 @@ Global
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Debug|x64.Build.0 = Debug|x64
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|Win32.Build.0 = Release|Win32
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|x64.ActiveCfg = Debug|x64
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|x64.Build.0 = Debug|x64
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|x64.ActiveCfg = Release|x64
|
||||
{0049F8CF-1BEC-4E6E-B457-0187A33AD522}.Release|x64.Build.0 = Release|x64
|
||||
{BAAD32AB-CD47-12FD-873C-0BBC204B7641}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{BAAD32AB-CD47-12FD-873C-0BBC204B7641}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{BAAD32AB-CD47-12FD-873C-0BBC204B7641}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@ -563,8 +563,8 @@ Global
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Debug|x64.Build.0 = Debug|x64
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|Win32.Build.0 = Release|Win32
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|x64.ActiveCfg = Debug|Win32
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|x64.Build.0 = Debug|Win32
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|x64.ActiveCfg = Release|x64
|
||||
{4B141102-3379-4F20-A9B0-F7418EFF3DAA}.Release|x64.Build.0 = Release|x64
|
||||
{83E5EEBE-9764-4C5B-9FDC-EB84A369C501}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{83E5EEBE-9764-4C5B-9FDC-EB84A369C501}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{83E5EEBE-9764-4C5B-9FDC-EB84A369C501}.Debug|x64.ActiveCfg = Debug|x64
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// sktoolslib - common files for SK tools
|
||||
|
||||
// Copyright (C) 2017-2018 Stefan Kueng
|
||||
// Copyright (C) 2017-2018, 2020 Stefan Kueng
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
@ -97,7 +97,7 @@ bool CRichStatusBar::SetPart(int index, const CRichStatusBarItem& item, bool red
|
||||
{
|
||||
if (index >= (int)m_parts.size())
|
||||
{
|
||||
for (auto i = m_parts.size(); i <= index; ++i)
|
||||
for (auto i = (int)m_parts.size(); i <= index; ++i)
|
||||
{
|
||||
m_parts.push_back(std::move(CRichStatusBarItem()));
|
||||
m_partwidths.push_back({});
|
||||
|
||||
@ -547,7 +547,7 @@ bool CTextFile::CalculateLines(volatile LONG * bCancelled)
|
||||
|
||||
long CTextFile::LineFromPosition(long pos) const
|
||||
{
|
||||
auto lb = std::lower_bound(linepositions.begin(), linepositions.end(), pos);
|
||||
auto lb = std::lower_bound(linepositions.begin(), linepositions.end(), static_cast<size_t>(pos));
|
||||
auto lbLine = lb - linepositions.begin();
|
||||
return long(lbLine + 1);
|
||||
}
|
||||
|
||||
@ -2388,7 +2388,7 @@ void ScintillaWin::NotifyDoubleClick(Point pt, int modifiers) {
|
||||
//Platform::DebugPrintf("ScintillaWin Double click 0\n");
|
||||
ScintillaBase::NotifyDoubleClick(pt, modifiers);
|
||||
// Send myself a WM_LBUTTONDBLCLK, so the container can handle it too.
|
||||
::SendMessage(MainHWND(),
|
||||
::SendMessage(::GetParent(MainHWND()),
|
||||
WM_LBUTTONDBLCLK,
|
||||
(modifiers & SCI_SHIFT) ? MK_SHIFT : 0,
|
||||
MAKELPARAM(pt.x, pt.y));
|
||||
|
||||
@ -1685,6 +1685,10 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
break;
|
||||
|
||||
//case WM_LBUTTONDBLCLK:
|
||||
// //return DefWindowProc(hwnd, umsg, wParam, lParam);
|
||||
// break;
|
||||
|
||||
case WM_MOUSEWHEEL:
|
||||
if (wParam & MK_CONTROL) {
|
||||
ShowZoomCallTip();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user