diff options
author | Neil <nyamatongwe@gmail.com> | 2025-04-03 14:52:19 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-04-03 14:52:19 +1100 |
commit | b4300bf40c1134231af48cab4f38c5394976d9a1 (patch) | |
tree | 9ee9c88ab3b5f19a1933ecc5dfd02d5d2c5e9d0b /src/Selection.h | |
parent | edb7369a2c6a19393dc413a9595a234969fc2731 (diff) | |
download | scintilla-mirror-b4300bf40c1134231af48cab4f38c5394976d9a1.tar.gz |
Turn on type conversion warnings for GCC and fix them.
Diffstat (limited to 'src/Selection.h')
-rw-r--r-- | src/Selection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Selection.h b/src/Selection.h index 8ffcbb0bb..6779ee7ce 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -50,6 +50,7 @@ public: Sci::Position VirtualSpace() const noexcept { return virtualSpace; } + [[nodiscard]] double VirtualSpaceWidth(double spaceWidth) const noexcept; void SetVirtualSpace(Sci::Position virtualSpace_) noexcept { PLATFORM_ASSERT(virtualSpace_ < 800000000); if (virtualSpace_ >= 0) |