diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-20 16:38:48 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-20 16:38:48 +1000 |
commit | 7f8a8cfb32aecb70fe10ef26fe096f4092f7e673 (patch) | |
tree | 9363cf8193aff09a46a4c0d845e4d3762d749d89 /src/CellBuffer.cxx | |
parent | 1a4952f5f7b03e65dbe1f38fb7826748e5b8d66f (diff) | |
download | scintilla-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.cxx | 2 |
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 |