EditorOpts: Fold config for diff

git-svn-id: trunk@24651 -
This commit is contained in:
martin 2010-04-16 17:11:58 +00:00
parent 34842606c5
commit ab19b9dde0
2 changed files with 24 additions and 1 deletions

View File

@ -690,6 +690,25 @@ const
)
);
EditorOptionsFoldInfoDiff: Array [0..2] of TEditorOptionsFoldInfo
= (
( Name: dlgFoldDiffFile;
Xml: 'File';
Index: ord(cfbtDiffFile);
Enabled: True
),
( Name: dlgFoldDiffChunk;
Xml: 'Chunk';
Index: ord(cfbtDiffChunk);
Enabled: True
),
( Name: dlgFoldDiffChunkSect;
Xml: 'ChunkSect';
Index: ord(cfbtDiffChunkSect);
Enabled: True
)
);
EditorOptionsFoldDefaults: array[TLazSyntaxHighlighter] of
TEditorOptionsFoldRecord =
( (Count: 0; Info: nil), // none
@ -707,7 +726,7 @@ const
(Count: 0; Info: nil), // php
(Count: 0; Info: nil), // sql
(Count: 0; Info: nil), // jscript
(Count: 0; Info: nil) // Diff
(Count: 3; Info: {$IFDEF FPC}@{$ENDIF}EditorOptionsFoldInfoDiff[0]) // Diff
);
const

View File

@ -1464,6 +1464,10 @@ resourcestring
dlgFoldHtmlComment = 'Comment';
dlgFoldHtmlAsp = 'ASP';
dlgFoldDiffFile = 'File';
dlgFoldDiffChunk = 'Chunk';
dlgFoldDiffChunkSect = 'Chunk section';
dlgMouseFoldExpFoldOne = 'Fold One (All Expanded)';
dlgMouseFoldExpFoldAll = 'Fold All (All Expanded)';
dlgMouseFoldColFoldOne = 'Fold One (Some Colapsed)';