diff options
author | Neil <nyamatongwe@gmail.com> | 2023-01-15 14:03:42 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-01-15 14:03:42 +1100 |
commit | 8fe06c8d006a9f149a964f1a69b4f1230082ed00 (patch) | |
tree | 112225542ad8a635df2a603bf9f69eefcc50ff42 /src/EditView.h | |
parent | 31cf809299dc2129d26a698b81a0428af79e52fc (diff) | |
download | scintilla-mirror-8fe06c8d006a9f149a964f1a69b4f1230082ed00.tar.gz |
Replace XYACCUMULATOR with XYPOSITION as will not return to single-precision
float calculations.
Remove unnecessary casts.
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 e6de369bc..21ef196c3 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -135,11 +135,11 @@ public: private: 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, XYACCUMULATOR subLineStart, ColourOptional background); + 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, - Sci::Line line, int xStart, PRectangle rcLine, int subLine, XYACCUMULATOR subLineStart, DrawPhase phase); + Sci::Line line, int xStart, PRectangle rcLine, int subLine, XYPOSITION subLineStart, DrawPhase phase); void DrawEOLAnnotationText(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, - Sci::Line line, int xStart, PRectangle rcLine, int subLine, XYACCUMULATOR subLineStart, DrawPhase phase); + 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); void DrawCarets(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, |