From bc954e095d056a5c9dd174b37d0dbddfb104872c Mon Sep 17 00:00:00 2001 From: Raymond Date: Wed, 7 Apr 2010 16:48:56 +0200 Subject: [PATCH] Fixed issue with CodeHints --- Units/Misc/v_autocompleteform.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Units/Misc/v_autocompleteform.pas b/Units/Misc/v_autocompleteform.pas index 687673b..b622e87 100644 --- a/Units/Misc/v_autocompleteform.pas +++ b/Units/Misc/v_autocompleteform.pas @@ -587,7 +587,7 @@ begin; exit; if EndPos.y = beginpos.y then begin - result := copy(strings[beginpos.y],beginpos.x, endpos.x - beginpos.x + 1); + result := copy(strings[beginpos.y],beginpos.x, endpos.x - beginpos.x); exit; end; result := copy(strings[beginpos.y],beginpos.x, length(strings[beginpos.y]) - beginpos.x + 1);