aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-01-20 08:36:24 +1100
committerNeil <nyamatongwe@gmail.com>2022-01-20 08:36:24 +1100
commita3fff53a48e63064b14f7a1842b20f260bc5a9bc (patch)
tree6d2ce6b1c61e94a0a708a3442977776f07a1d3f1 /src/EditView.h
parent5aff87386c21d5a345eff5b1982f4171577a922c (diff)
downloadscintilla-mirror-a3fff53a48e63064b14f7a1842b20f260bc5a9bc.tar.gz
Hide details of PositionCache.
Move class declarations of PositionCache and PositionCacheEntry into cxx file and only define IPositionCache interface and CreatePositionCache factory function in header.
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 bac59ed31..e2101d745 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -81,7 +81,7 @@ public:
std::unique_ptr<Surface> pixmapIndentGuideHighlight;
LineLayoutCache llc;
- PositionCache posCache;
+ std::unique_ptr<IPositionCache> posCache;
int tabArrowHeight; // draw arrow heads this many pixels above/below line midpoint
/** Some platforms, notably PLAT_CURSES, do not support Scintilla's native