diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 08:28:06 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 08:28:06 +1000 |
commit | 92933482d32f5b8c1bc80ea99a7ae4f3f4feb319 (patch) | |
tree | 784968b3b21bee234af9443b938bae8f10a061c8 /src/EditView.h | |
parent | cd438e160a1b3af0b96f8cd21e8cb1b240073021 (diff) | |
download | scintilla-mirror-92933482d32f5b8c1bc80ea99a7ae4f3f4feb319.tar.gz |
Backport: Avoid casts for DrawIndentGuide.
Backport of changeset 6709:0e77bb893e18.
Diffstat (limited to 'src/EditView.h')
-rw-r--r-- | src/EditView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h index 8a194236d..82f2f93ee 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -121,7 +121,7 @@ public: Sci::Line DisplayFromPosition(Surface *surface, const EditModel &model, Sci::Position pos, const ViewStyle &vs); Sci::Position StartEndDisplayLine(Surface *surface, const EditModel &model, Sci::Position pos, bool start, const ViewStyle &vs); - void DrawIndentGuide(Surface *surface, Sci::Line lineVisible, int lineHeight, Sci::Position start, PRectangle rcSegment, bool highlight); + void DrawIndentGuide(Surface *surface, Sci::Line lineVisible, int lineHeight, XYPOSITION start, PRectangle rcSegment, bool highlight); void DrawEOL(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, PRectangle rcLine, Sci::Line line, Sci::Position lineEnd, int xStart, int subLine, XYACCUMULATOR subLineStart, ColourOptional background); |