Browse Source

* changed CodeCompleteMinLen type from a const to a variable

pierre 23 years ago
parent
commit
b7b65d3165
1 changed files with 6 additions and 2 deletions
  1. 6 2
      ide/weditor.pas

+ 6 - 2
ide/weditor.pas

@@ -68,7 +68,6 @@ const
       MaxLineLength     = 255;
       MaxLineLength     = 255;
       MaxLineCount      = {$ifdef FPC}2000000{$else}16380{$endif};
       MaxLineCount      = {$ifdef FPC}2000000{$else}16380{$endif};
 
 
-      CodeCompleteMinLen = 4; { minimum length of text to try to complete }
 
 
       CodeTemplateCursorChar = '|'; { char to signal cursor pos in templates }
       CodeTemplateCursorChar = '|'; { char to signal cursor pos in templates }
 
 
@@ -727,6 +726,8 @@ const
        selection (PM) }
        selection (PM) }
      DontConsiderShiftState: boolean  = false;
      DontConsiderShiftState: boolean  = false;
 
 
+     CodeCompleteMinLen : byte = 4; { minimum length of text to try to complete }
+
      ToClipCmds         : TCommandSet = ([cmCut,cmCopy,cmCopyWin]);
      ToClipCmds         : TCommandSet = ([cmCut,cmCopy,cmCopyWin]);
      FromClipCmds       : TCommandSet = ([cmPaste]);
      FromClipCmds       : TCommandSet = ([cmPaste]);
      FromWinClipCmds    : TCommandSet = ([cmPasteWin]);
      FromWinClipCmds    : TCommandSet = ([cmPasteWin]);
@@ -7112,7 +7113,10 @@ end;
 END.
 END.
 {
 {
   $Log$
   $Log$
-  Revision 1.27  2002-09-04 08:39:55  pierre
+  Revision 1.28  2002-09-04 14:02:54  pierre
+   * changed CodeCompleteMinLen type from a const to a variable
+
+  Revision 1.27  2002/09/04 08:39:55  pierre
    * only suppress current word in CodeTemplate if it matches Template name
    * only suppress current word in CodeTemplate if it matches Template name
 
 
   Revision 1.26  2002/09/03 13:56:21  pierre
   Revision 1.26  2002/09/03 13:56:21  pierre