diff options
author | Neil <nyamatongwe@gmail.com> | 2022-01-20 08:36:24 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-01-20 08:36:24 +1100 |
commit | a3fff53a48e63064b14f7a1842b20f260bc5a9bc (patch) | |
tree | 6d2ce6b1c61e94a0a708a3442977776f07a1d3f1 /src/Editor.cxx | |
parent | 5aff87386c21d5a345eff5b1982f4171577a922c (diff) | |
download | scintilla-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/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index a4d60019f..838f1830e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -269,7 +269,7 @@ void Editor::InvalidateStyleData() { vs.technology = technology; DropGraphics(); view.llc.Invalidate(LineLayout::ValidLevel::invalid); - view.posCache.Clear(); + view.posCache->Clear(); } void Editor::InvalidateStyleRedraw() { @@ -6801,11 +6801,11 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) { return static_cast<sptr_t>(view.llc.GetLevel()); case Message::SetPositionCache: - view.posCache.SetSize(wParam); + view.posCache->SetSize(wParam); break; case Message::GetPositionCache: - return view.posCache.GetSize(); + return view.posCache->GetSize(); case Message::SetScrollWidth: PLATFORM_ASSERT(wParam > 0); |