Split from [feature-requests:#749], current code (in Editor::WndProc()) truncates spaceWidth before multiply:
case Message::LineScroll:
ScrollTo(topLine + lParam);
HorizontalScrollTo(xOffset + static_cast<int>(wParam) * static_cast<int>(vs.spaceWidth));
return 1;
it seems better to use HorizontalScrollTo(xOffset + static_cast<int>(static_cast<int>(wParam) * vs.spaceWidth)); or use std::lround().
Committed as [bafddd].
Related
Commit: [bafddd]
Committed as [bafddd].
Related
Commit: [bafddd]