aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-06-10 09:33:22 +1000
committerNeil <nyamatongwe@gmail.com>2021-06-10 09:33:22 +1000
commit6d353d5ced87c554bc1b9abe194f18d585a0aeef (patch)
treee3ac6c084d40c8815952ec7076430db750ef6c92 /src/PositionCache.h
parent7ff41a39e0f5d91ccbeb2a5f342daba84785a892 (diff)
downloadscintilla-mirror-6d353d5ced87c554bc1b9abe194f18d585a0aeef.tar.gz
Don't divide input text into segments in PositionCache::MeasureWidths as text
should already have been segmented into reasonable lengths. The Document argument is no longer needed.
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 b3e87bcd5..030b16504 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -281,7 +281,7 @@ public:
void SetSize(size_t size_);
size_t GetSize() const noexcept { return pces.size(); }
void MeasureWidths(Surface *surface, const ViewStyle &vstyle, unsigned int styleNumber,
- const char *s, unsigned int len, XYPOSITION *positions, const Document *pdoc);
+ const char *s, unsigned int len, XYPOSITION *positions);
};
}