aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-22 17:21:20 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-22 17:21:20 +1100
commit0035079b6cf849dc5e2ae8face51fcfb99853efa (patch)
treeaae706048fdadf44ec52a67882309fe8f77e5fd0 /src/PositionCache.h
parentc6abfabd40bdec8adca1b6f534e56a5602ecb993 (diff)
downloadscintilla-mirror-0035079b6cf849dc5e2ae8face51fcfb99853efa.tar.gz
Use XYPOSITION for xStart parameter as it is only passed as XYPOSITION.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index 0fb51dc38..5a3ec9bfd 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -255,7 +255,7 @@ public:
// Try to make each subdivided run lengthEachSubdivision or shorter.
enum { lengthEachSubdivision = 100 };
BreakFinder(const LineLayout *ll_, const Selection *psel, Range lineRange_, Sci::Position posLineStart_,
- int xStart, bool breakForSelection, const Document *pdoc_, const SpecialRepresentations *preprs_, const ViewStyle *pvsDraw);
+ XYPOSITION xStart, bool breakForSelection, const Document *pdoc_, const SpecialRepresentations *preprs_, const ViewStyle *pvsDraw);
// Deleted so BreakFinder objects can not be copied.
BreakFinder(const BreakFinder &) = delete;
BreakFinder(BreakFinder &&) = delete;