Small bugfixes

This commit is contained in:
Christian Hammacher 2005-11-13 10:40:59 +00:00
parent d09a8e1aac
commit c5761610b8
6 changed files with 21 additions and 13 deletions

View File

@ -115,7 +115,7 @@ AutoIncBuild=1
MajorVer=1 MajorVer=1
MinorVer=3 MinorVer=3
Release=0 Release=0
Build=29 Build=30
Debug=0 Debug=0
PreRelease=0 PreRelease=0
Special=0 Special=0
@ -126,7 +126,7 @@ CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName=AMX Mod X Dev Team CompanyName=AMX Mod X Dev Team
FileDescription= FileDescription=
FileVersion=1.3.0.29 FileVersion=1.3.0.30
InternalName= InternalName=
LegalCopyright= LegalCopyright=
LegalTrademarks= LegalTrademarks=

Binary file not shown.

Binary file not shown.

View File

@ -169,47 +169,47 @@ begin
// Get Expanded-State and delete children // Get Expanded-State and delete children
with GetNode('Constants') do begin with GetNode('Constants') do begin
exConstants := Expanded; exConstants := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('CVars') do begin with GetNode('CVars') do begin
exCVars := Expanded; exCVars := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Defined') do begin with GetNode('Defined') do begin
exDefined := Expanded; exDefined := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Included') do begin with GetNode('Included') do begin
exIncluded := Expanded; exIncluded := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Default') do begin with GetNode('Default') do begin
exDefault := Expanded; exDefault := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Events') do begin with GetNode('Events') do begin
exEvents := Expanded; exEvents := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Stocks') do begin with GetNode('Stocks') do begin
exStocks := Expanded; exStocks := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Methods') do begin with GetNode('Methods') do begin
exMethods := Expanded; exMethods := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Natives') do begin with GetNode('Natives') do begin
exNatives := Expanded; exNatives := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Forwards') do begin with GetNode('Forwards') do begin
exForwards := Expanded; exForwards := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
with GetNode('Variables') do begin with GetNode('Variables') do begin
exVariables := Expanded; exVariables := (Expanded) and (Count <> 0);
DeleteChildren; DeleteChildren;
end; end;
// Create new children // Create new children

View File

@ -280,6 +280,12 @@ begin
eTemp := Copy(eTemp, 1, Pos('(', eTemp) - 1); eTemp := Copy(eTemp, 1, Pos('(', eTemp) - 1);
eTemp := Trim(eTemp); eTemp := Trim(eTemp);
if (Result.AutoComplete.IndexOf(eTemp) <> -1) then begin
eStartLine := -1;
eBracesOpen := 0;
continue;
end;
if k < 5 then begin if k < 5 then begin
Result.AutoComplete.Add(eTemp); Result.AutoComplete.Add(eTemp);
Result.HighlightKeywords.Add(eTemp); Result.HighlightKeywords.Add(eTemp);

View File

@ -1199,6 +1199,8 @@ begin
with sciSearchReplace do begin with sciSearchReplace do begin
SearchBackwards := frmReplace.chkBackward.Checked; SearchBackwards := frmReplace.chkBackward.Checked;
SearchCaseSensitive := frmReplace.chkCaseSensivity.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; SearchFromCaret := frmReplace.chkSearchFromCaret.Checked;
SearchSelectionOnly := frmReplace.chkSelectedTextOnly.Checked; SearchSelectionOnly := frmReplace.chkSelectedTextOnly.Checked;
SearchWholeWords := frmReplace.chkWholeWordsOnly.Checked; SearchWholeWords := frmReplace.chkWholeWordsOnly.Checked;