|
@@ -300,6 +300,7 @@ type
|
|
EndPos : TPoint;
|
|
EndPos : TPoint;
|
|
Text : PString;
|
|
Text : PString;
|
|
ActionCount : longint;
|
|
ActionCount : longint;
|
|
|
|
+ Flags : longint;
|
|
Action : byte;
|
|
Action : byte;
|
|
IsGrouped : boolean;
|
|
IsGrouped : boolean;
|
|
TimeStamp : longint; { this is needed to keep track of line number &
|
|
TimeStamp : longint; { this is needed to keep track of line number &
|
|
@@ -311,7 +312,7 @@ type
|
|
the (probably) changed line & position information,
|
|
the (probably) changed line & position information,
|
|
so, we can still jump to the right position in the
|
|
so, we can still jump to the right position in the
|
|
editor even when it is heavily modified - Gabor }
|
|
editor even when it is heavily modified - Gabor }
|
|
- constructor init(act:byte; StartP,EndP:TPoint;Txt:String);
|
|
|
|
|
|
+ constructor init(act:byte; StartP,EndP:TPoint;Txt:String;AFlags : longint);
|
|
constructor init_group(act:byte);
|
|
constructor init_group(act:byte);
|
|
function is_grouped_action : boolean;
|
|
function is_grouped_action : boolean;
|
|
destructor done; virtual;
|
|
destructor done; virtual;
|
|
@@ -444,7 +445,7 @@ type
|
|
Attrs: byte): sw_integer; virtual;
|
|
Attrs: byte): sw_integer; virtual;
|
|
public
|
|
public
|
|
{ Undo info storage }
|
|
{ Undo info storage }
|
|
- {a}procedure AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string); virtual;
|
|
|
|
|
|
+ {a}procedure AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string;AFlags : longint); virtual;
|
|
{a}procedure AddGroupedAction(AAction : byte); virtual;
|
|
{a}procedure AddGroupedAction(AAction : byte); virtual;
|
|
{a}procedure CloseGroupedAction(AAction : byte); virtual;
|
|
{a}procedure CloseGroupedAction(AAction : byte); virtual;
|
|
{a}function GetUndoActionCount: sw_integer; virtual;
|
|
{a}function GetUndoActionCount: sw_integer; virtual;
|
|
@@ -600,7 +601,7 @@ type
|
|
{a}function UpdateAttrsRange(FromLine, ToLine: sw_integer; Attrs: byte): sw_integer; virtual;
|
|
{a}function UpdateAttrsRange(FromLine, ToLine: sw_integer; Attrs: byte): sw_integer; virtual;
|
|
public
|
|
public
|
|
{ Undo info storage }
|
|
{ Undo info storage }
|
|
- {a}procedure AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string); virtual;
|
|
|
|
|
|
+ {a}procedure AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string;AFlags : longint); virtual;
|
|
{a}procedure AddGroupedAction(AAction : byte); virtual;
|
|
{a}procedure AddGroupedAction(AAction : byte); virtual;
|
|
{a}procedure CloseGroupedAction(AAction : byte); virtual;
|
|
{a}procedure CloseGroupedAction(AAction : byte); virtual;
|
|
{a}function GetUndoActionCount: sw_integer; virtual;
|
|
{a}function GetUndoActionCount: sw_integer; virtual;
|
|
@@ -2479,7 +2480,7 @@ begin
|
|
Unlock(Editor);
|
|
Unlock(Editor);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TCustomCodeEditorCore.AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string);
|
|
|
|
|
|
+procedure TCustomCodeEditorCore.AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string;AFlags : longint);
|
|
begin
|
|
begin
|
|
Abstract;
|
|
Abstract;
|
|
end;
|
|
end;
|
|
@@ -2901,7 +2902,7 @@ begin
|
|
begin
|
|
begin
|
|
InsertLine(DestPos.Y,'');
|
|
InsertLine(DestPos.Y,'');
|
|
EPOS.X:=0;EPos.Y:=DestPos.Y;
|
|
EPOS.X:=0;EPos.Y:=DestPos.Y;
|
|
- AddAction(eaInsertLine,BPos,EPos,'');
|
|
|
|
|
|
+ AddAction(eaInsertLine,BPos,EPos,'',GetFlags);
|
|
LimitsChanged;
|
|
LimitsChanged;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -2947,14 +2948,14 @@ begin
|
|
SetLineText(DestPos.Y,DS+AfterS);
|
|
SetLineText(DestPos.Y,DS+AfterS);
|
|
BPos.X:=DestPos.X;BPos.Y:=DestPos.Y;
|
|
BPos.X:=DestPos.X;BPos.Y:=DestPos.Y;
|
|
EPOS.X:=DestPos.X+RX-RSX;EPos.Y:=DestPos.Y;
|
|
EPOS.X:=DestPos.X+RX-RSX;EPos.Y:=DestPos.Y;
|
|
- AddAction(eaInsertText,BPos,EPos,S);
|
|
|
|
|
|
+ AddAction(eaInsertText,BPos,EPos,S,GetFlags);
|
|
end
|
|
end
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
SetLineText(DestPos.Y,DS);
|
|
SetLineText(DestPos.Y,DS);
|
|
BPos.X:=DestPos.X;BPos.Y:=DestPos.Y;
|
|
BPos.X:=DestPos.X;BPos.Y:=DestPos.Y;
|
|
EPOS.X:=DestPos.X+RX-RSX;EPos.Y:=DestPos.Y;
|
|
EPOS.X:=DestPos.X+RX-RSX;EPos.Y:=DestPos.Y;
|
|
- AddAction(eaInsertText,BPos,EPos,S);
|
|
|
|
|
|
+ AddAction(eaInsertText,BPos,EPos,S,GetFlags);
|
|
end;
|
|
end;
|
|
BPos.X:=EPos.X;
|
|
BPos.X:=EPos.X;
|
|
if LineDelta=LineCount-1 then
|
|
if LineDelta=LineCount-1 then
|
|
@@ -3009,7 +3010,7 @@ begin
|
|
AddChar(S[I]);
|
|
AddChar(S[I]);
|
|
InsertText:=true;
|
|
InsertText:=true;
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- AddAction(eaInsertText,OldPos,CurPos,S);
|
|
|
|
|
|
+ AddAction(eaInsertText,OldPos,CurPos,S,GetFlags);
|
|
UnLock;
|
|
UnLock;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -3966,7 +3967,7 @@ begin
|
|
UpdateAttrsRange:=-1;
|
|
UpdateAttrsRange:=-1;
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TCustomCodeEditor.AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string);
|
|
|
|
|
|
+procedure TCustomCodeEditor.AddAction(AAction: byte; AStartPos, AEndPos: TPoint; AText: string;AFlags : longint);
|
|
begin
|
|
begin
|
|
{ Abstract }
|
|
{ Abstract }
|
|
end;
|
|
end;
|
|
@@ -4458,7 +4459,7 @@ begin
|
|
{ the only drawback is that we keep
|
|
{ the only drawback is that we keep
|
|
the original text even if Toggle where
|
|
the original text even if Toggle where
|
|
it is not really necessary PM }
|
|
it is not really necessary PM }
|
|
- Addaction(eaOverwriteText,StartPos,StartPos,Copy(S,X1+1,X2-X1+1));
|
|
|
|
|
|
+ Addaction(eaOverwriteText,StartPos,StartPos,Copy(S,X1+1,X2-X1+1),GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
for X:=X1 to X2 do
|
|
for X:=X1 to X2 do
|
|
begin
|
|
begin
|
|
@@ -4478,7 +4479,7 @@ begin
|
|
UpdateAttrsRange(StartP.Y,EndP.Y,attrAll);
|
|
UpdateAttrsRange(StartP.Y,EndP.Y,attrAll);
|
|
DrawLines(CurPos.Y);
|
|
DrawLines(CurPos.Y);
|
|
SetModified(true);
|
|
SetModified(true);
|
|
- Addaction(eaMoveCursor,StartPos,CurPos,'');
|
|
|
|
|
|
+ Addaction(eaMoveCursor,StartPos,CurPos,'',GetFlags);
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
UnLock;
|
|
UnLock;
|
|
end;
|
|
end;
|
|
@@ -4750,10 +4751,8 @@ begin
|
|
EI^.Fold^.Collapse(false);
|
|
EI^.Fold^.Collapse(false);
|
|
end;
|
|
end;
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- if not overwrite then
|
|
|
|
- Addaction(eaInsertLine,SCP,CurPos,IndentStr)
|
|
|
|
- else
|
|
|
|
- AddAction(eaMoveCursor,SCP,CurPos,'');
|
|
|
|
|
|
+ { obsolete IndentStr is taken care of by the Flags PM }
|
|
|
|
+ Addaction(eaInsertLine,SCP,CurPos,CharStr(' ',i-1){IndentStr},GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
AdjustSelection(CurPos.X-SCP.X,CurPos.Y-SCP.Y);
|
|
AdjustSelection(CurPos.X-SCP.X,CurPos.Y-SCP.Y);
|
|
end else
|
|
end else
|
|
@@ -4767,7 +4766,8 @@ begin
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
SetCurPtr(Ind,CurPos.Y+1);
|
|
SetCurPtr(Ind,CurPos.Y+1);
|
|
- Addaction(eaInsertLine,SCP,CurPos,IndentStr);
|
|
|
|
|
|
+ { obsolete IndentStr is taken care of by the Flags PM }
|
|
|
|
+ Addaction(eaInsertLine,SCP,CurPos,''{IndentStr},GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
end
|
|
end
|
|
else
|
|
else
|
|
@@ -4775,6 +4775,7 @@ begin
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
SetCurPtr(Ind,CurPos.Y+1);
|
|
SetCurPtr(Ind,CurPos.Y+1);
|
|
|
|
+ AddAction(eaMoveCursor,SCP,CurPos,'',GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
@@ -4808,7 +4809,7 @@ begin
|
|
SetLineText(CurPos.Y-1,S+GetLineText(CurPos.Y));
|
|
SetLineText(CurPos.Y-1,S+GetLineText(CurPos.Y));
|
|
SC1.X:=Length(S);SC1.Y:=CurPOS.Y-1;
|
|
SC1.X:=Length(S);SC1.Y:=CurPOS.Y-1;
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- AddAction(eaDeleteLine,SCP,SC1,GetLineText(CurPos.Y));
|
|
|
|
|
|
+ AddAction(eaDeleteLine,SCP,SC1,GetLineText(CurPos.Y),GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
DeleteLine(CurPos.Y);
|
|
DeleteLine(CurPos.Y);
|
|
LimitsChanged;
|
|
LimitsChanged;
|
|
@@ -4847,7 +4848,7 @@ begin
|
|
SetLineText(CurPos.Y,copy(S,1,CI-1)+copy(S,OI,High(S)));
|
|
SetLineText(CurPos.Y,copy(S,1,CI-1)+copy(S,OI,High(S)));
|
|
SetCurPtr(CP,CurPos.Y);
|
|
SetCurPtr(CP,CurPos.Y);
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- Addaction(eaDeleteText,SCP,CurPos,Copy(S,CI,OI-CI));
|
|
|
|
|
|
+ Addaction(eaDeleteText,SCP,CurPos,Copy(S,CI,OI-CI),GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
end;
|
|
end;
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
UpdateAttrs(CurPos.Y,attrAll);
|
|
@@ -4877,8 +4878,8 @@ begin
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
SCP.X:=0;SCP.Y:=CurPos.Y+1;
|
|
SCP.X:=0;SCP.Y:=CurPos.Y+1;
|
|
AddGroupedAction(eaDelChar);
|
|
AddGroupedAction(eaDelChar);
|
|
- AddAction(eaMoveCursor,CurPos,SCP,'');
|
|
|
|
- AddAction(eaDeleteLine,SCP,CurPos,GetLineText(CurPos.Y+1));
|
|
|
|
|
|
+ AddAction(eaMoveCursor,CurPos,SCP,'',GetFlags);
|
|
|
|
+ AddAction(eaDeleteLine,SCP,CurPos,GetLineText(CurPos.Y+1),GetFlags);
|
|
CloseGroupedAction(eaDelChar);
|
|
CloseGroupedAction(eaDelChar);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
DeleteLine(CurPos.Y+1);
|
|
DeleteLine(CurPos.Y+1);
|
|
@@ -4901,13 +4902,13 @@ begin
|
|
else
|
|
else
|
|
S:=Copy(S,1,CI-1)+CharStr(' ',GetTabSize-1)+Copy(S,CI+1,High(S));
|
|
S:=Copy(S,1,CI-1)+CharStr(' ',GetTabSize-1)+Copy(S,CI+1,High(S));
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- Addaction(eaDeleteText,CurPos,CurPos,#9);
|
|
|
|
|
|
+ Addaction(eaDeleteText,CurPos,CurPos,#9,GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
end
|
|
end
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- Addaction(eaDeleteText,CurPos,CurPos,S[CI]);
|
|
|
|
|
|
+ Addaction(eaDeleteText,CurPos,CurPos,S[CI],GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
Delete(S,CI,1);
|
|
Delete(S,CI,1);
|
|
end;
|
|
end;
|
|
@@ -5039,7 +5040,7 @@ begin
|
|
UpdateAttrs(Max(0,CurPos.Y-1),attrAll);
|
|
UpdateAttrs(Max(0,CurPos.Y-1),attrAll);
|
|
DrawLines(CurPos.Y);
|
|
DrawLines(CurPos.Y);
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
- AddAction(eaDeleteLine,SP,CurPos,S);
|
|
|
|
|
|
+ AddAction(eaDeleteLine,SP,CurPos,S,GetFlags);
|
|
SetModified(true);
|
|
SetModified(true);
|
|
end;
|
|
end;
|
|
Unlock;
|
|
Unlock;
|
|
@@ -5143,7 +5144,7 @@ begin
|
|
begin
|
|
begin
|
|
SPos.X:=StartX;
|
|
SPos.X:=StartX;
|
|
SPos.Y:=CurLine;
|
|
SPos.Y:=CurLine;
|
|
- AddAction(eaDeleteText,SPos,SPos,Copy(S,StartX+1,EndX-StartX));
|
|
|
|
|
|
+ AddAction(eaDeleteText,SPos,SPos,Copy(S,StartX+1,EndX-StartX),GetFlags);
|
|
end;
|
|
end;
|
|
Inc(CurLine);
|
|
Inc(CurLine);
|
|
LastX:=SelStart.X;
|
|
LastX:=SelStart.X;
|
|
@@ -5160,7 +5161,7 @@ begin
|
|
begin
|
|
begin
|
|
SPos.X:=StartX;
|
|
SPos.X:=StartX;
|
|
SPos.Y:=CurLine;
|
|
SPos.Y:=CurLine;
|
|
- AddAction(eaDeleteText,SPos,SPos,Copy(S,StartX+1,High(S)));
|
|
|
|
|
|
+ AddAction(eaDeleteText,SPos,SPos,Copy(S,StartX+1,High(S)),GetFlags);
|
|
S:=GetDisplayText(CurLine+LineCount-1);
|
|
S:=GetDisplayText(CurLine+LineCount-1);
|
|
end;
|
|
end;
|
|
Inc(CurLine);
|
|
Inc(CurLine);
|
|
@@ -5174,7 +5175,7 @@ begin
|
|
end;
|
|
end;
|
|
if GetStoreUndo then
|
|
if GetStoreUndo then
|
|
begin
|
|
begin
|
|
- AddAction(eaInsertText,SPos,SPos,Copy(S,EndX+1,High(S)));
|
|
|
|
|
|
+ AddAction(eaInsertText,SPos,SPos,Copy(S,EndX+1,High(S)),GetFlags);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
HideSelect;
|
|
HideSelect;
|
|
@@ -5290,11 +5291,11 @@ begin
|
|
S:=GetLineText(i);
|
|
S:=GetLineText(i);
|
|
SetLineText(i,Ind+S);
|
|
SetLineText(i,Ind+S);
|
|
Pos.X:=0;Pos.Y:=i;
|
|
Pos.X:=0;Pos.Y:=i;
|
|
- AddAction(eaInsertText,Pos,Pos,Ind);
|
|
|
|
|
|
+ AddAction(eaInsertText,Pos,Pos,Ind,GetFlags);
|
|
end;
|
|
end;
|
|
SetCurPtr(CurPos.X,CurPos.Y);
|
|
SetCurPtr(CurPos.X,CurPos.Y);
|
|
{ must be added manually here PM }
|
|
{ must be added manually here PM }
|
|
- AddAction(eaMoveCursor,Pos,CurPos,'');
|
|
|
|
|
|
+ AddAction(eaMoveCursor,Pos,CurPos,'',GetFlags);
|
|
UpdateAttrsRange(SelStart.Y,SelEnd.Y,attrAll);
|
|
UpdateAttrsRange(SelStart.Y,SelEnd.Y,attrAll);
|
|
DrawLines(CurPos.Y);
|
|
DrawLines(CurPos.Y);
|
|
SetModified(true);
|
|
SetModified(true);
|
|
@@ -5365,7 +5366,7 @@ begin
|
|
begin
|
|
begin
|
|
Pos.Y:=i;
|
|
Pos.Y:=i;
|
|
Pos.X:=0;
|
|
Pos.X:=0;
|
|
- AddAction(eaDeleteText,Pos,Pos,CharStr(' ',k));
|
|
|
|
|
|
+ AddAction(eaDeleteText,Pos,Pos,CharStr(' ',k),GetFlags);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
SetCurPtr(CurPos.X,CurPos.Y);
|
|
SetCurPtr(CurPos.X,CurPos.Y);
|
|
@@ -5630,9 +5631,9 @@ begin
|
|
{ must be before CloseBrackets !! }
|
|
{ must be before CloseBrackets !! }
|
|
SetStoreUndo(HoldUndo);
|
|
SetStoreUndo(HoldUndo);
|
|
if Overwrite then
|
|
if Overwrite then
|
|
- Addaction(eaOverwriteText,SP,CurPos,Copy(S,CI,length(SC)))
|
|
|
|
|
|
+ Addaction(eaOverwriteText,SP,CurPos,Copy(S,CI,length(SC)),GetFlags)
|
|
else
|
|
else
|
|
- Addaction(eaInsertText,SP,CurPos,SC);
|
|
|
|
|
|
+ Addaction(eaInsertText,SP,CurPos,SC,GetFlags);
|
|
SetStoreUndo(false);
|
|
SetStoreUndo(false);
|
|
if IsFlagSet(efAutoBrackets) then
|
|
if IsFlagSet(efAutoBrackets) then
|
|
begin
|
|
begin
|
|
@@ -5705,7 +5706,7 @@ begin
|
|
InsertLine(i,s);
|
|
InsertLine(i,s);
|
|
BPos.X:=0;BPos.Y:=i;
|
|
BPos.X:=0;BPos.Y:=i;
|
|
EPOS.X:=Length(s);EPos.Y:=i;
|
|
EPOS.X:=Length(s);EPos.Y:=i;
|
|
- AddAction(eaInsertLine,BPos,EPos,GetDisplayText(i));
|
|
|
|
|
|
+ AddAction(eaInsertLine,BPos,EPos,GetDisplayText(i),GetFlags);
|
|
end;
|
|
end;
|
|
if p13+1=p10 then
|
|
if p13+1=p10 then
|
|
p13[0]:=#13
|
|
p13[0]:=#13
|
|
@@ -6388,7 +6389,7 @@ begin
|
|
{ if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) and (HighlightRow<>-1) then
|
|
{ if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) and (HighlightRow<>-1) then
|
|
SetHighlightRow(-1);}
|
|
SetHighlightRow(-1);}
|
|
if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) then
|
|
if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) then
|
|
- AddAction(eaMoveCursor,OldPos,CurPos,'');
|
|
|
|
|
|
+ AddAction(eaMoveCursor,OldPos,CurPos,'',GetFlags);
|
|
if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) then
|
|
if ((CurPos.X<>OldPos.X) or (CurPos.Y<>OldPos.Y)) then
|
|
PositionChanged;{UpdateIndicator;}
|
|
PositionChanged;{UpdateIndicator;}
|
|
UnLock;
|
|
UnLock;
|
|
@@ -6680,13 +6681,14 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
-constructor TEditorAction.init(act:byte; StartP,EndP:TPoint;Txt:String);
|
|
|
|
|
|
+constructor TEditorAction.init(act:byte; StartP,EndP:TPoint;Txt:String;AFlags : longint);
|
|
begin
|
|
begin
|
|
Action:=act;
|
|
Action:=act;
|
|
StartPos:=StartP;
|
|
StartPos:=StartP;
|
|
EndPos:=EndP;
|
|
EndPos:=EndP;
|
|
Text:=NewStr(txt);
|
|
Text:=NewStr(txt);
|
|
ActionCount:=0;
|
|
ActionCount:=0;
|
|
|
|
+ Flags:=AFlags;
|
|
IsGrouped:=false;
|
|
IsGrouped:=false;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -6694,6 +6696,7 @@ constructor TEditorAction.init_group(act:byte);
|
|
begin
|
|
begin
|
|
Action:=act;
|
|
Action:=act;
|
|
ActionCount:=0;
|
|
ActionCount:=0;
|
|
|
|
+ Flags:=0;
|
|
IsGrouped:=true;
|
|
IsGrouped:=true;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -7096,7 +7099,10 @@ end;
|
|
END.
|
|
END.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.17 2002-01-25 14:15:35 pierre
|
|
|
|
|
|
+ Revision 1.18 2002-04-16 08:27:01 pierre
|
|
|
|
+ * fix for bug report 1869
|
|
|
|
+
|
|
|
|
+ Revision 1.17 2002/01/25 14:15:35 pierre
|
|
* fix bug 1774
|
|
* fix bug 1774
|
|
|
|
|
|
Revision 1.16 2001/11/07 00:18:00 pierre
|
|
Revision 1.16 2001/11/07 00:18:00 pierre
|