Fixed Crash in option dialog (caused by synedit)

git-svn-id: trunk@18117 -
This commit is contained in:
martin 2009-01-04 20:10:09 +00:00
parent 50a8b259ee
commit 4be804cc45

View File

@ -64,7 +64,7 @@ begin
FIndexOfLongestLine := -1;
inherited Create(ASynStringSource);
RegisterAttribute(TSynEditStringTabExpander, SizeOf(Integer));
FTabWidth := 8;
TabWidth := 8;
fSynStrings.AddChangeHandler(senrLineCount, {$IFDEF FPC}@{$ENDIF}LineCountChanged);
fSynStrings.AddChangeHandler(senrLineChange, {$IFDEF FPC}@{$ENDIF}LineCountChanged);
end;