Small bugfixes
This commit is contained in:
parent
d09a8e1aac
commit
c5761610b8
@ -115,7 +115,7 @@ AutoIncBuild=1
|
||||
MajorVer=1
|
||||
MinorVer=3
|
||||
Release=0
|
||||
Build=29
|
||||
Build=30
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
@ -126,7 +126,7 @@ CodePage=1252
|
||||
[Version Info Keys]
|
||||
CompanyName=AMX Mod X Dev Team
|
||||
FileDescription=
|
||||
FileVersion=1.3.0.29
|
||||
FileVersion=1.3.0.30
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
|
Binary file not shown.
Binary file not shown.
@ -169,47 +169,47 @@ begin
|
||||
|
||||
// Get Expanded-State and delete children
|
||||
with GetNode('Constants') do begin
|
||||
exConstants := Expanded;
|
||||
exConstants := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('CVars') do begin
|
||||
exCVars := Expanded;
|
||||
exCVars := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Defined') do begin
|
||||
exDefined := Expanded;
|
||||
exDefined := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Included') do begin
|
||||
exIncluded := Expanded;
|
||||
exIncluded := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Default') do begin
|
||||
exDefault := Expanded;
|
||||
exDefault := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Events') do begin
|
||||
exEvents := Expanded;
|
||||
exEvents := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Stocks') do begin
|
||||
exStocks := Expanded;
|
||||
exStocks := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Methods') do begin
|
||||
exMethods := Expanded;
|
||||
exMethods := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Natives') do begin
|
||||
exNatives := Expanded;
|
||||
exNatives := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Forwards') do begin
|
||||
exForwards := Expanded;
|
||||
exForwards := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
with GetNode('Variables') do begin
|
||||
exVariables := Expanded;
|
||||
exVariables := (Expanded) and (Count <> 0);
|
||||
DeleteChildren;
|
||||
end;
|
||||
// Create new children
|
||||
|
@ -279,6 +279,12 @@ begin
|
||||
if Pos('(', eTemp) <> 0 then
|
||||
eTemp := Copy(eTemp, 1, Pos('(', eTemp) - 1);
|
||||
eTemp := Trim(eTemp);
|
||||
|
||||
if (Result.AutoComplete.IndexOf(eTemp) <> -1) then begin
|
||||
eStartLine := -1;
|
||||
eBracesOpen := 0;
|
||||
continue;
|
||||
end;
|
||||
|
||||
if k < 5 then begin
|
||||
Result.AutoComplete.Add(eTemp);
|
||||
|
@ -1199,6 +1199,8 @@ begin
|
||||
with sciSearchReplace do begin
|
||||
SearchBackwards := frmReplace.chkBackward.Checked;
|
||||
SearchCaseSensitive := frmReplace.chkCaseSensivity.Checked;
|
||||
if (frmReplace.chkReplaceAll.Checked) and (LowerCase(frmReplace.cboSearchFor.Text) = LowerCase(frmReplace.cboReplaceWith.Text)) then
|
||||
SearchCaseSensitive := True;
|
||||
SearchFromCaret := frmReplace.chkSearchFromCaret.Checked;
|
||||
SearchSelectionOnly := frmReplace.chkSelectedTextOnly.Checked;
|
||||
SearchWholeWords := frmReplace.chkWholeWordsOnly.Checked;
|
||||
|
Loading…
Reference in New Issue
Block a user