From e6af67cffa5f504eb3c3969306436494fbacfbff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 7 Sep 2012 12:58:09 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Take the value of "automatic declare local variables" option into account correctly. git-svn-id: svn://localhost/gambas/trunk@5138 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Editor/Code/FEditor.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Editor/Code/FEditor.class b/app/src/gambas3/.src/Editor/Code/FEditor.class index 65fd166b0..f7077c871 100644 --- a/app/src/gambas3/.src/Editor/Code/FEditor.class +++ b/app/src/gambas3/.src/Editor/Code/FEditor.class @@ -1095,7 +1095,7 @@ Public Sub Editors_KeyPress() Endif Endif - If Not Key.Shift Then + If Not Key.Shift And If LocalVariableDeclaration Then If CreateLocalVariable() Then iLine = Editor.Line Endif