SynEdit: fix typo

git-svn-id: trunk@25437 -
This commit is contained in:
martin 2010-05-15 16:16:49 +00:00
parent 11f782cac2
commit 50fec1b33a
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,6 @@ type
private
fBackground: TColor;
fBackgroundDefault: TColor; //mh 2000-10-08
FFeature: TSynHighlighterAttrFeatures;
FFeatures: TSynHighlighterAttrFeatures;
fForeground: TColor;
fForegroundDefault: TColor; //mh 2000-10-08
@ -144,7 +143,7 @@ type
property Name: string read fName;
property StoredName: string read FStoredName write FStoredName;
property OnChange: TNotifyEvent read fOnChange write fOnChange;
property Features: TSynHighlighterAttrFeatures read FFeatures write FFeature;
property Features: TSynHighlighterAttrFeatures read FFeatures write FFeatures;
published
property Background: TColor read fBackground write SetBackground
stored GetBackgroundColorStored; //mh 2000-10-08
@ -520,6 +519,7 @@ begin
bChanged := TRUE;
end;
{$ENDIF}
FFeatures := src.FFeatures;
if bChanged then
Changed;
end else

View File

@ -2053,8 +2053,8 @@ begin
fSymbolAttri := TSynHighlighterAttributes.Create(SYNS_AttrSymbol, SYNS_XML_AttrSymbol);
AddAttribute(fSymbolAttri);
FCaseLabelAttri := TSynHighlighterAttributes.Create(SYNS_AttrCaseLabel, SYNS_XML_AttrCaseLabel);
AddAttribute(FCaseLabelAttri);
FCaseLabelAttri.Features := FCaseLabelAttri.Features + [hafStyleMask];
AddAttribute(FCaseLabelAttri);
FCurCaseLabelAttri := TSynHighlighterAttributes.Create(SYNS_AttrCaseLabel, SYNS_XML_AttrCaseLabel);
{$IFDEF SYN_LAZARUS}
fDirectiveAttri := TSynHighlighterAttributes.Create(SYNS_AttrDirective, SYNS_XML_AttrDirective);