aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerNoExceptions.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-07 17:28:01 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-07 17:28:01 +1000
commitb9b6ef0c4617d99774df4b46c853469ef62cd7c1 (patch)
treec904443e3d9c224d9dd9d1fbf3ad847d06f73ee0 /lexlib/LexerNoExceptions.cxx
parent32ae171da032fbdcfc94405877a49e1d3e3b0abb (diff)
downloadscintilla-mirror-b9b6ef0c4617d99774df4b46c853469ef62cd7c1.tar.gz
Use same parameter names in declarations and definitions.
Diffstat (limited to 'lexlib/LexerNoExceptions.cxx')
-rw-r--r--lexlib/LexerNoExceptions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lexlib/LexerNoExceptions.cxx b/lexlib/LexerNoExceptions.cxx
index 2adc3a733..96a3a72a4 100644
--- a/lexlib/LexerNoExceptions.cxx
+++ b/lexlib/LexerNoExceptions.cxx
@@ -42,20 +42,20 @@ Sci_Position SCI_METHOD LexerNoExceptions::WordListSet(int n, const char *wl) {
return -1;
}
-void SCI_METHOD LexerNoExceptions::Lex(Sci_PositionU startPos, Sci_Position length, int initStyle, IDocument *pAccess) {
+void SCI_METHOD LexerNoExceptions::Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) {
try {
Accessor astyler(pAccess, &props);
- Lexer(startPos, length, initStyle, pAccess, astyler);
+ Lexer(startPos, lengthDoc, initStyle, pAccess, astyler);
astyler.Flush();
} catch (...) {
// Should not throw into caller as may be compiled with different compiler or options
pAccess->SetErrorStatus(SC_STATUS_FAILURE);
}
}
-void SCI_METHOD LexerNoExceptions::Fold(Sci_PositionU startPos, Sci_Position length, int initStyle, IDocument *pAccess) {
+void SCI_METHOD LexerNoExceptions::Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) {
try {
Accessor astyler(pAccess, &props);
- Folder(startPos, length, initStyle, pAccess, astyler);
+ Folder(startPos, lengthDoc, initStyle, pAccess, astyler);
astyler.Flush();
} catch (...) {
// Should not throw into caller as may be compiled with different compiler or options