aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-01-15 13:15:03 +1100
committerNeil <nyamatongwe@gmail.com>2023-01-15 13:15:03 +1100
commit75b9e2e143d73d0399ea3a9a8ae5c973fadc4b42 (patch)
treef973fa5f046e6a90556e05d2185000d8fda95cfb /src/EditView.h
parentb0b1287f399bc033708ef82a8e799759f14adb29 (diff)
downloadscintilla-mirror-75b9e2e143d73d0399ea3a9a8ae5c973fadc4b42.tar.gz
Simplify DrawIndentGuide and move decision to offset out of loop.
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h
index c05703710..e6de369bc 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -144,7 +144,7 @@ private:
Sci::Line line, int xStart, 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;
- void DrawIndentGuide(Surface *surface, Sci::Line lineVisible, int lineHeight, XYPOSITION start, PRectangle rcSegment, bool highlight);
+ 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,
ColourOptional background);