"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/formmain_find.inc" 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).

formmain_find.inc  (CudaText-1.92.0):formmain_find.inc  (CudaText-1.93.0)
skipping to change at line 228 skipping to change at line 228
if bDoLock then if bDoLock then
begin begin
//add undo group, so Undo won't take too much actions //add undo group, so Undo won't take too much actions
FFinder.Editor.Strings.BeginUndoGroup; FFinder.Editor.Strings.BeginUndoGroup;
FFinder.Editor.Strings.EndUndoGroup; FFinder.Editor.Strings.EndUndoGroup;
end; end;
if (Res=afoFindFirst) or (Res=afoFindNext) or (Res=afoFindPrev) then if (Res=afoFindFirst) or (Res=afoFindNext) or (Res=afoFindPrev) then
begin begin
FFinder.OptBack:= (Res=afoFindPrev); FFinder.OptBack:= (Res=afoFindPrev);
ok:= FFinder.DoAction_FindOrReplace(false, false, false, bChanged, true); ok:= FFinder.DoAction_FindOrReplace(
FFinder.OptRegex and (Res=afoFindNext), //ANext should be used for regex
false, false, bChanged, true);
FinderUpdateEditor(false); FinderUpdateEditor(false);
DoFindResult(ok); DoFindResult(ok);
if ok then if ok then
DoFindOptions_ResetInSelection; DoFindOptions_ResetInSelection;
end; end;
if (Res=afoReplace) or (Res=afoReplaceStop) then if (Res=afoReplace) or (Res=afoReplaceStop) then
begin begin
//replace match //replace match
ok:= FFinder.DoAction_ReplaceSelected(true); ok:= FFinder.DoAction_ReplaceSelected(true);
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

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