diff --git a/editor/studio/AMXX_Studio.dof b/editor/studio/AMXX_Studio.dof index 0f0a3fdf..00f75ee4 100755 --- a/editor/studio/AMXX_Studio.dof +++ b/editor/studio/AMXX_Studio.dof @@ -115,7 +115,7 @@ AutoIncBuild=1 MajorVer=1 MinorVer=4 Release=0 -Build=12 +Build=13 Debug=0 PreRelease=0 Special=0 @@ -126,7 +126,7 @@ CodePage=1252 [Version Info Keys] CompanyName=AMX Mod X Dev Team FileDescription= -FileVersion=1.4.0.12 +FileVersion=1.4.0.13 InternalName=gaben LegalCopyright=AMX Mod X Dev Team LegalTrademarks= diff --git a/editor/studio/AMXX_Studio.exe b/editor/studio/AMXX_Studio.exe index 2c588996..152ba7ab 100755 Binary files a/editor/studio/AMXX_Studio.exe and b/editor/studio/AMXX_Studio.exe differ diff --git a/editor/studio/AMXX_Studio.res b/editor/studio/AMXX_Studio.res index 8277c7a2..67d6d3f3 100755 Binary files a/editor/studio/AMXX_Studio.res and b/editor/studio/AMXX_Studio.res differ diff --git a/editor/studio/UnitCodeInspector.pas b/editor/studio/UnitCodeInspector.pas index 566a4c33..cce231cc 100755 --- a/editor/studio/UnitCodeInspector.pas +++ b/editor/studio/UnitCodeInspector.pas @@ -408,7 +408,6 @@ begin FItems.Clear; eVarCount := 0; eConstCount := 0; - eCILine := eLine; { Constants and Variables } if (IsAtStart('new', eCurrLine, False)) or ((IsAtStart('stock', eCurrLine, False) and (CountChars(RemoveStringsAndComments(eCurrLine, True, True), '(') = 0) and (CountChars(RemoveStringsAndComments(eCurrLine, True, True), ')') = 0))) then begin @@ -467,9 +466,7 @@ begin eStr.Free; frmMain.jviCode.EndUpdate; if eLine <> eCILine then - UpdateCI_Pawn(eLine) - else - eCILine := -1; + UpdateCI_Pawn(eLine); exit; end; { Conditions } @@ -512,10 +509,10 @@ begin eCurrLine := Trim(StringReplace(eBackupLine, #9, #32, [rfReplaceAll])); eCurrLine := RemoveStringsAndComments(eCurrLine, False, True); eCurrLine := Trim(Copy(eCurrLine, GetMatchingBrace(eCurrLine) + 1, Length(eCurrLine))); - if eCurrLine = '{' then + { if eCurrLine = '{' then AddField('Action', 'If-Condition', 'New Code-Block').ReadOnly := True else - AddFunc('Action', eCurrLine, 'If-Condition'); + AddFunc('Action', eCurrLine, 'If-Condition'); } end; {--> Analyze comments } eCurrLine := Trim(StringReplace(eBackupLine, #9, #32, [rfReplaceAll])); @@ -526,9 +523,7 @@ begin eStr.Free; frmMain.jviCode.EndUpdate; if eLine <> eCILine then - UpdateCI_Pawn(eLine) - else - eCILine := -1; + UpdateCI_Pawn(eLine); exit; end; { Defined } @@ -555,9 +550,7 @@ begin eStr.Free; frmMain.jviCode.EndUpdate; if eLine <> eCILine then - UpdateCI_Pawn(eLine) - else - eCILine := -1; + UpdateCI_Pawn(eLine); exit; end; { Included }