aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Lexer.txt
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-06-26 22:17:20 +1000
committerNeil <nyamatongwe@gmail.com>2025-06-26 22:17:20 +1000
commit181b13c2eed7499d192d0b85c7269dc7ab71336b (patch)
tree616d030534eb56f7a70ae705663fe757ac44a04c /doc/Lexer.txt
parent1226611b78512a0e1b6299e5dd51c354290df0f4 (diff)
downloadscintilla-mirror-181b13c2eed7499d192d0b85c7269dc7ab71336b.tar.gz
Fix some typos and indentation.
Diffstat (limited to 'doc/Lexer.txt')
-rw-r--r--doc/Lexer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Lexer.txt b/doc/Lexer.txt
index 9b9e54f5a..d7023b36b 100644
--- a/doc/Lexer.txt
+++ b/doc/Lexer.txt
@@ -89,7 +89,7 @@ loop iterates over characters, like this:
An alternative would be to use a "state-based" approach. The outer loop
would iterate over states, like this:
- lengthDoc = startPos+lenth ;
+ lengthDoc = startPos+length ;
for ( unsigned int i = startPos ;; ) {
char ch = styler.SafeGetCharAt(i);
int new_state = 0 ;