aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2026-01-14 08:45:02 +1100
committerNeil <nyamatongwe@gmail.com>2026-01-14 08:45:02 +1100
commit9ce4f642c737a90a535c081cce71d79eb85effd0 (patch)
tree90cc4a386ffffac739d7d278a3d05fcd84db6c0b /src/EditView.h
parentf06acbb8f212ca5fdf599b89f4229f1e67f0c41a (diff)
downloadscintilla-mirror-9ce4f642c737a90a535c081cce71d79eb85effd0.tar.gz
Encapsulate updating maximum width for scroll bar adjustment.
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditView.h b/src/EditView.h
index 1e28d25c5..2bd27d630 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -133,6 +133,7 @@ public:
Sci::Position StartEndDisplayLine(Surface *surface, const EditModel &model, Sci::Position pos, bool start, const ViewStyle &vs);
private:
+ void UpdateMaxWidth(XYPOSITION width) noexcept;
void DrawEOL(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll,
Sci::Line line, int xStart, PRectangle rcLine, int subLine, Sci::Position lineEnd, XYPOSITION subLineStart, ColourOptional background);
void DrawFoldDisplayText(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll,