From 02465e0f48b10a20e24bc79a7cbec5bc0dd8ff49 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Mon, 20 Jul 2020 18:29:33 -0400 Subject: [PATCH] add TODO comment --- src/types/UiaTextRangeBase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/UiaTextRangeBase.cpp b/src/types/UiaTextRangeBase.cpp index 030364bb6fc..7d12fb42762 100644 --- a/src/types/UiaTextRangeBase.cpp +++ b/src/types/UiaTextRangeBase.cpp @@ -286,6 +286,8 @@ IFACEMETHODIMP UiaTextRangeBase::ExpandToEnclosingUnit(_In_ TextUnit unit) noexc } else { + // TODO GH#6986: properly handle "end of buffer" as last character + // instead of last cell // expand to document _start = bufferSize.Origin(); _end = bufferSize.EndExclusive();