diff options
| author | Neil <nyamatongwe@gmail.com> | 2026-02-07 10:51:26 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2026-02-07 10:51:26 +1100 |
| commit | ac8ccbc3eaea26e831e1751fc627cf0bb09c190d (patch) | |
| tree | 08ccccefd23d0c94efbb804532dbb05873ced429 /src/EditView.h | |
| parent | dbb87f8485e2b2e07a632926182a0a2810931719 (diff) | |
| download | scintilla-mirror-ac8ccbc3eaea26e831e1751fc627cf0bb09c190d.tar.gz | |
Rename some xStart to xOrigin as xStart was used for different purposes.
Now, xOrigin is the origin of drawing content inside the text pane and xStart
is the origin after taking indentation (ll->wrapIndent) of wrapped lines into
account on subline 1 and later.
Diffstat (limited to 'src/EditView.h')
| -rw-r--r-- | src/EditView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditView.h b/src/EditView.h index 2bd27d630..10ba31fa6 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -141,9 +141,9 @@ private: void DrawEOLAnnotationText(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, Sci::Line line, int xStart, PRectangle rcLine, int subLine, XYPOSITION subLineStart, DrawPhase phase); void DrawAnnotation(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, - Sci::Line line, int xStart, PRectangle rcLine, int subLine, DrawPhase phase); + Sci::Line line, int xOrigin, PRectangle rcLine, int subLine, DrawPhase phase); void DrawCarets(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, - Sci::Line lineDoc, int xStart, PRectangle rcLine, int subLine) const; + Sci::Line lineDoc, int xOrigin, PRectangle rcLine, int subLine) const; void DrawIndentGuide(Surface *surface, XYPOSITION start, PRectangle rcSegment, bool highlight, bool offset); void DrawForeground(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, int xStart, PRectangle rcLine, int subLine, Sci::Line lineVisible, Range lineRange, Sci::Position posLineStart, @@ -151,7 +151,7 @@ private: void DrawIndentGuidesOverEmpty(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, Sci::Line line, int xStart, PRectangle rcLine, int subLine, Sci::Line lineVisible); void DrawLine(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, - Sci::Line line, Sci::Line lineVisible, int xStart, PRectangle rcLine, int subLine, DrawPhase phase); + Sci::Line line, Sci::Line lineVisible, int xOrigin, PRectangle rcLine, int subLine, DrawPhase phase); public: void PaintText(Surface *surfaceWindow, const EditModel &model, const ViewStyle &vsDraw, |
