"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/proc_globdata.pas" between
CudaText-1.92.0.tar.gz and CudaText-1.93.0.tar.gz

About: CudaText is a cross-platform text editor (written in Lazarus).

proc_globdata.pas  (CudaText-1.92.0):proc_globdata.pas  (CudaText-1.93.0)
skipping to change at line 73 skipping to change at line 73
AppBookmarkSetup: array[1..63] of AppBookmarkSetup: array[1..63] of
record record
ImageIndex: integer; ImageIndex: integer;
Color: TColor; Color: TColor;
end; end;
var var
AppBookmarkImagelist: TImageList = nil; AppBookmarkImagelist: TImageList = nil;
AppApiFlatTheme: TATFlatTheme; AppApiFlatTheme: TATFlatTheme;
var var
AppFrameList1: TList; //all frames - for main thread AppFrameList1: TFPList; //all frames - for main thread
AppFrameList2: TList; //all frames - for file watcher thread AppFrameList2: TFPList; //all frames - for file watcher thread
AppFrameListDeleting: TList; //frames which need to be Free'd AppFrameListDeleting: TFPList; //frames which need to be Free'd
//we don't free frames instantly, because watcher thread can access them //we don't free frames instantly, because watcher thread can access them
AppEventLister: TEvent; //event set to signaled, when main thread has done App FrameList2 updating AppEventLister: TEvent; //event set to signaled, when main thread has done App FrameList2 updating
AppEventWatcher: TEvent; //event set to signaled, when watcher thread is not b usy AppEventWatcher: TEvent; //event set to signaled, when watcher thread is not b usy
type type
TAppKeyValue = class TAppKeyValue = class
Key: string; Key: string;
Value: string; Value: string;
end; end;
type type
{ TAppKeyValues } { TAppKeyValues }
TAppKeyValues = class(TList) TAppKeyValues = class(TFPList)
public public
procedure Add(const AKey, AValue: string); procedure Add(const AKey, AValue: string);
function GetValue(const AKey, ADefValue: string): string; function GetValue(const AKey, ADefValue: string): string;
end; end;
var var
AppConfig_Detect: TAppKeyValues; AppConfig_Detect: TAppKeyValues;
AppConfig_DetectLine: TAppKeyValues; AppConfig_DetectLine: TAppKeyValues;
AppConfig_PGroups: TAppKeyValues; AppConfig_PGroups: TAppKeyValues;
skipping to change at line 230 skipping to change at line 230
InputHeight: integer; InputHeight: integer;
InitialDir: string; InitialDir: string;
ExportHtmlNumbers: boolean; ExportHtmlNumbers: boolean;
ExportHtmlFontName: string; ExportHtmlFontName: string;
ExportHtmlFontSize: integer; ExportHtmlFontSize: integer;
TreeTheme: string; TreeTheme: string;
TreeAutoSync: boolean; TreeAutoSync: boolean;
TreeTimeFill: integer; TreeTimeFill: integer;
TreeTimeCaret: integer; //TreeTimeCaret: integer;
TreeShowIcons: boolean; TreeShowIcons: boolean;
TreeShowTooltips: boolean; TreeShowTooltips: boolean;
TreeFilterLayout: integer; TreeFilterLayout: integer;
TreeSublexers: boolean; TreeSublexers: boolean;
NewdocLexer: string; NewdocLexer: string;
NewdocEnc: string; NewdocEnc: string;
NewdocEnds: integer; NewdocEnds: integer;
DefaultEncUtf8: boolean; DefaultEncUtf8: boolean;
skipping to change at line 288 skipping to change at line 288
NotificationTimeSeconds: integer; NotificationTimeSeconds: integer;
NonTextFiles: integer; //0: prompt, 1: open, 2: don't open NonTextFiles: integer; //0: prompt, 1: open, 2: don't open
NonTextFilesBufferKb: integer; NonTextFilesBufferKb: integer;
ReloadUnsavedConfirm: boolean; ReloadUnsavedConfirm: boolean;
ReloadFollowTail: boolean; ReloadFollowTail: boolean;
FullScreen: string; FullScreen: string;
MouseGotoDefinition: string; MouseGotoDefinition: string;
LogDebug: boolean; LogDebug: boolean;
LogConsole: boolean; LogConsole: boolean;
Emmet_AddSlashToEmptyTags: boolean;
Emmet_CommentTags: boolean;
Emmet_IndentNested: boolean;
Emmet_SingleLine: boolean;
Emmet_TrimLineMarkers: boolean;
Emmet_WordWrap: boolean;
HotkeyFindDialog, HotkeyFindDialog,
HotkeyReplaceDialog, HotkeyReplaceDialog,
HotkeyFindFirst, HotkeyFindFirst,
HotkeyFindNext, HotkeyFindNext,
HotkeyFindPrev, HotkeyFindPrev,
HotkeyReplaceAndFindNext, HotkeyReplaceAndFindNext,
HotkeyReplaceNoFindNext, HotkeyReplaceNoFindNext,
HotkeyReplaceAll, HotkeyReplaceAll,
HotkeyReplaceGlobal, HotkeyReplaceGlobal,
HotkeyCountAll, HotkeyCountAll,
skipping to change at line 763 skipping to change at line 770
end; end;
type type
TAppTreeHelper = class TAppTreeHelper = class
ItemModule: string; ItemModule: string;
ItemProc: string; ItemProc: string;
ItemLexers: string; ItemLexers: string;
end; end;
var var
AppCommandList: TList; AppCommandList: TFPList;
AppEventList: TList; AppEventList: TFPList;
AppSidePanels: TList; AppSidePanels: TFPList;
AppBottomPanels: TList; AppBottomPanels: TFPList;
AppTreeHelpers: TList; AppTreeHelpers: TFPList;
type type
PAppPanelProps = ^TAppPanelProps; PAppPanelProps = ^TAppPanelProps;
TAppPanelProps = record TAppPanelProps = record
Listbox: TATListbox; Listbox: TATListbox;
RegexStr: string; RegexStr: string;
RegexIdLine, RegexIdLine,
RegexIdCol, RegexIdCol,
RegexIdName: integer; RegexIdName: integer;
DefFilename: string; DefFilename: string;
skipping to change at line 1324 skipping to change at line 1331
ConsoleWordWrap:= true; ConsoleWordWrap:= true;
InputHeight:= 26; InputHeight:= 26;
InitialDir:= ''; InitialDir:= '';
ExportHtmlNumbers:= false; ExportHtmlNumbers:= false;
ExportHtmlFontSize:= 12; ExportHtmlFontSize:= 12;
ExportHtmlFontName:= 'Courier New'; ExportHtmlFontName:= 'Courier New';
TreeAutoSync:= true; TreeAutoSync:= true;
TreeTimeFill:= 2000; TreeTimeFill:= 2000;
TreeTimeCaret:= 300; //TreeTimeCaret:= 300;
TreeShowIcons:= true; TreeShowIcons:= true;
TreeShowTooltips:= true; TreeShowTooltips:= true;
TreeFilterLayout:= 1; TreeFilterLayout:= 1;
TreeSublexers:= false; TreeSublexers:= false;
PyChangeSlow:= 2000; PyChangeSlow:= 2000;
PyInitLog:= true; PyInitLog:= true;
NewdocLexer:= ''; NewdocLexer:= '';
NewdocEnc:= 'utf8'; NewdocEnc:= 'utf8';
skipping to change at line 1387 skipping to change at line 1394
NotificationTimeSeconds:= 2; NotificationTimeSeconds:= 2;
NonTextFiles:= 0; NonTextFiles:= 0;
NonTextFilesBufferKb:= 64; NonTextFilesBufferKb:= 64;
ReloadFollowTail:= true; ReloadFollowTail:= true;
ReloadUnsavedConfirm:= true; ReloadUnsavedConfirm:= true;
FullScreen:= 'tp'; FullScreen:= 'tp';
MouseGotoDefinition:= 'a'; MouseGotoDefinition:= 'a';
LogDebug:= false; LogDebug:= false;
LogConsole:= false; LogConsole:= false;
Emmet_AddSlashToEmptyTags:= true;
Emmet_CommentTags:= false;
Emmet_IndentNested:= true;
Emmet_SingleLine:= false;
Emmet_TrimLineMarkers:= true;
Emmet_WordWrap:= false;
HotkeyFindDialog:= 'Ctrl+F'; HotkeyFindDialog:= 'Ctrl+F';
HotkeyReplaceDialog:= 'Ctrl+R'; HotkeyReplaceDialog:= 'Ctrl+R';
HotkeyFindFirst:= 'Alt+Enter'; HotkeyFindFirst:= 'Alt+Enter';
HotkeyFindNext:= ''; HotkeyFindNext:= '';
HotkeyFindPrev:= 'Shift+Enter'; HotkeyFindPrev:= 'Shift+Enter';
HotkeyReplaceAndFindNext:= 'Alt+Z'; HotkeyReplaceAndFindNext:= 'Alt+Z';
HotkeyReplaceNoFindNext:= 'Ctrl+Alt+Z'; HotkeyReplaceNoFindNext:= 'Ctrl+Alt+Z';
HotkeyReplaceAll:= 'Alt+A'; HotkeyReplaceAll:= 'Alt+A';
HotkeyReplaceGlobal:= ''; HotkeyReplaceGlobal:= '';
HotkeyCountAll:= 'Alt+O'; HotkeyCountAll:= 'Alt+O';
skipping to change at line 2248 skipping to change at line 2262
function AppCommandHasConfigurableHotkey(Cmd: integer): boolean; function AppCommandHasConfigurableHotkey(Cmd: integer): boolean;
begin begin
Result:= AppCommandCategory(Cmd) in [categ_Normal, categ_Plugin, categ_PluginS ub]; Result:= AppCommandCategory(Cmd) in [categ_Normal, categ_Plugin, categ_PluginS ub];
end; end;
initialization initialization
InitDirs; InitDirs;
InitEditorOps(EditorOps); InitEditorOps(EditorOps);
InitUiOps(UiOps); InitUiOps(UiOps);
AppCommandList:= TList.Create; AppCommandList:= TFPList.Create;
AppEventList:= TList.Create; AppEventList:= TFPList.Create;
AppSidePanels:= TList.Create; AppSidePanels:= TFPList.Create;
AppBottomPanels:= TList.Create; AppBottomPanels:= TFPList.Create;
AppTreeHelpers:= TList.Create; AppTreeHelpers:= TFPList.Create;
AppKeymap:= TATKeymap.Create; AppKeymap:= TATKeymap.Create;
InitKeymapFull(AppKeymap); InitKeymapFull(AppKeymap);
InitKeymapForApplication(AppKeymap); InitKeymapForApplication(AppKeymap);
FillChar(AppBookmarkSetup, SizeOf(AppBookmarkSetup), 0); FillChar(AppBookmarkSetup, SizeOf(AppBookmarkSetup), 0);
AppBookmarkImagelist:= TImageList.Create(nil); AppBookmarkImagelist:= TImageList.Create(nil);
AppShortcutEscape:= ShortCut(VK_ESCAPE, []); AppShortcutEscape:= ShortCut(VK_ESCAPE, []);
AppShortcutShiftTab:= ShortCut(VK_TAB, [ssShift]); AppShortcutShiftTab:= ShortCut(VK_TAB, [ssShift]);
skipping to change at line 2279 skipping to change at line 2293
AppConfig_PGroups:= TAppKeyValues.Create; AppConfig_PGroups:= TAppKeyValues.Create;
////detection of Shell files ////detection of Shell files
////disabled: it detects Python files with shebang ////disabled: it detects Python files with shebang
//AppConfig_DetectLine_Keys.Add('\#!.+'); //AppConfig_DetectLine_Keys.Add('\#!.+');
//AppConfig_DetectLine_Values.Add('Bash script'); //AppConfig_DetectLine_Values.Add('Bash script');
//detection of XML //detection of XML
AppConfig_DetectLine.Add('<\?xml .+', 'XML'); AppConfig_DetectLine.Add('<\?xml .+', 'XML');
AppFrameList1:= TList.Create; AppFrameList1:= TFPList.Create;
AppFrameList2:= TList.Create; AppFrameList2:= TFPList.Create;
AppFrameListDeleting:= TList.Create; AppFrameListDeleting:= TFPList.Create;
AppEventLister:= TEvent.Create(nil, true, true, ''); AppEventLister:= TEvent.Create(nil, true, true, '');
AppEventWatcher:= TEvent.Create(nil, true, true, ''); AppEventWatcher:= TEvent.Create(nil, true, true, '');
AppApiFlatTheme:= ATFlatTheme; AppApiFlatTheme:= ATFlatTheme;
finalization finalization
FreeAndNil(AppEventWatcher); FreeAndNil(AppEventWatcher);
FreeAndNil(AppEventLister); FreeAndNil(AppEventLister);
FreeAndNil(AppFrameListDeleting); FreeAndNil(AppFrameListDeleting);
FreeAndNil(AppFrameList2); FreeAndNil(AppFrameList2);
 End of changes. 9 change blocks. 
19 lines changed or deleted 33 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)