aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-20 16:38:48 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-20 16:38:48 +1000
commit7f8a8cfb32aecb70fe10ef26fe096f4092f7e673 (patch)
tree9363cf8193aff09a46a4c0d845e4d3762d749d89 /src/CellBuffer.cxx
parent1a4952f5f7b03e65dbe1f38fb7826748e5b8d66f (diff)
downloadscintilla-mirror-7f8a8cfb32aecb70fe10ef26fe096f4092f7e673.tar.gz
Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventually
not be visible to most code.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 6d760cdb5..84c2c27a7 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -1129,7 +1129,7 @@ void CellBuffer::BasicDeleteChars(Sci::Position position, Sci::Position deleteLe
if (deleteLength == 0)
return;
- Sci::Line lineRecalculateStart = INVALID_POSITION;
+ Sci::Line lineRecalculateStart = Sci::invalidPosition;
if ((position == 0) && (deleteLength == substance.Length())) {
// If whole buffer is being deleted, faster to reinitialise lines data