mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 18:18:20 +02:00
fixed some typos
git-svn-id: trunk@7190 -
This commit is contained in:
parent
a57486b40f
commit
68a7c67548
@ -869,7 +869,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TCodeBuffer.FileOnDiskNeedsUpdate: boolean;
|
function TCodeBuffer.FileOnDiskNeedsUpdate: boolean;
|
||||||
// file on disk needs update, if file is modified or does not exists
|
// file on disk needs update, if file is modified or does not exist
|
||||||
begin
|
begin
|
||||||
if LoadDateValid then
|
if LoadDateValid then
|
||||||
Result:=Modified or (FFileChangeStep<>ChangeStep)
|
Result:=Modified or (FFileChangeStep<>ChangeStep)
|
||||||
|
@ -53,7 +53,7 @@ type
|
|||||||
PInterfaceIdentCacheEntry = ^TInterfaceIdentCacheEntry;
|
PInterfaceIdentCacheEntry = ^TInterfaceIdentCacheEntry;
|
||||||
TInterfaceIdentCacheEntry = record
|
TInterfaceIdentCacheEntry = record
|
||||||
Identifier: PChar;
|
Identifier: PChar;
|
||||||
Node: TCodeTreeNode; // if node = nil then identifier does not exists in
|
Node: TCodeTreeNode; // if node = nil then identifier does not exist in
|
||||||
// this interface
|
// this interface
|
||||||
CleanPos: integer;
|
CleanPos: integer;
|
||||||
NextEntry: PInterfaceIdentCacheEntry; // used by memory manager
|
NextEntry: PInterfaceIdentCacheEntry; // used by memory manager
|
||||||
|
@ -132,7 +132,7 @@ begin
|
|||||||
NodeExt2:=TCodeTreeNodeExtension(AVLNode2.Data);
|
NodeExt2:=TCodeTreeNodeExtension(AVLNode2.Data);
|
||||||
cmp:=CompareTextIgnoringSpace(NodeExt1.Txt,NodeExt2.Txt,false);
|
cmp:=CompareTextIgnoringSpace(NodeExt1.Txt,NodeExt2.Txt,false);
|
||||||
if cmp<0 then begin
|
if cmp<0 then begin
|
||||||
// node of tree1 does not exists in tree2
|
// node of tree1 does not exist in tree2
|
||||||
// -> delete
|
// -> delete
|
||||||
Tree1.FreeAndDelete(AVLNode1);
|
Tree1.FreeAndDelete(AVLNode1);
|
||||||
end else if cmp=0 then begin
|
end else if cmp=0 then begin
|
||||||
@ -141,13 +141,13 @@ begin
|
|||||||
NodeExt1.Data:=AVLNode2;
|
NodeExt1.Data:=AVLNode2;
|
||||||
AVLNode2:=Tree2.FindSuccessor(AVLNode2);
|
AVLNode2:=Tree2.FindSuccessor(AVLNode2);
|
||||||
end else begin
|
end else begin
|
||||||
// node of tree2 does not exists in tree1
|
// node of tree2 does not exist in tree1
|
||||||
// -> skip node of tree2
|
// -> skip node of tree2
|
||||||
AVLNode2:=Tree2.FindSuccessor(AVLNode2);
|
AVLNode2:=Tree2.FindSuccessor(AVLNode2);
|
||||||
continue;
|
continue;
|
||||||
end;
|
end;
|
||||||
end else begin
|
end else begin
|
||||||
// node of tree1 does not exists in tree2
|
// node of tree1 does not exist in tree2
|
||||||
// -> delete
|
// -> delete
|
||||||
Tree1.FreeAndDelete(AVLNode1);
|
Tree1.FreeAndDelete(AVLNode1);
|
||||||
end;
|
end;
|
||||||
@ -866,7 +866,7 @@ begin
|
|||||||
SearchInNode:=SearchInNodes.FindSuccessor(SearchInNode);
|
SearchInNode:=SearchInNodes.FindSuccessor(SearchInNode);
|
||||||
if (Result=nil) or (SearchInNode=nil) then exit;
|
if (Result=nil) or (SearchInNode=nil) then exit;
|
||||||
end else begin
|
end else begin
|
||||||
// node in SearchInNodes does not exists in SearchForNodes
|
// node in SearchInNodes does not exist in SearchForNodes
|
||||||
// -> ignore and search next
|
// -> ignore and search next
|
||||||
SearchInNode:=SearchInNodes.FindSuccessor(SearchInNode);
|
SearchInNode:=SearchInNodes.FindSuccessor(SearchInNode);
|
||||||
end;
|
end;
|
||||||
|
@ -1872,7 +1872,7 @@ begin
|
|||||||
FromPos:=-1;
|
FromPos:=-1;
|
||||||
if FindCreateFormStatement(MainBeginNode.StartPos,UpperCaseStr(AClassName),
|
if FindCreateFormStatement(MainBeginNode.StartPos,UpperCaseStr(AClassName),
|
||||||
UpperCaseStr(AVarName),OldPosition)=-1 then begin
|
UpperCaseStr(AVarName),OldPosition)=-1 then begin
|
||||||
// does not exists -> create as last in front of 'Application.Run'
|
// does not exist -> create as last in front of 'Application.Run'
|
||||||
MoveCursorToCleanPos(MainBeginNode.StartPos);
|
MoveCursorToCleanPos(MainBeginNode.StartPos);
|
||||||
repeat
|
repeat
|
||||||
if ReadNextUpAtomIs('APPLICATION') then begin
|
if ReadNextUpAtomIs('APPLICATION') then begin
|
||||||
@ -1938,7 +1938,7 @@ begin
|
|||||||
FromPos:=-1;
|
FromPos:=-1;
|
||||||
if FindCreateFormStatement(MainBeginNode.StartPos,UpperCaseStr(OldClassName),
|
if FindCreateFormStatement(MainBeginNode.StartPos,UpperCaseStr(OldClassName),
|
||||||
UpperCaseStr(OldVarName),OldPosition)=-1 then begin
|
UpperCaseStr(OldVarName),OldPosition)=-1 then begin
|
||||||
// does not exists
|
// does not exist
|
||||||
if OnlyIfExists then begin
|
if OnlyIfExists then begin
|
||||||
Result:=true;
|
Result:=true;
|
||||||
exit;
|
exit;
|
||||||
|
@ -371,7 +371,7 @@ resourcestring
|
|||||||
lisErrorCreatingFile = 'Error creating file';
|
lisErrorCreatingFile = 'Error creating file';
|
||||||
lisUnableToCreateFile3 = 'Unable to create file%s%s%s%s';
|
lisUnableToCreateFile3 = 'Unable to create file%s%s%s%s';
|
||||||
lisCopyError2 = 'Copy error';
|
lisCopyError2 = 'Copy error';
|
||||||
lisSourceDirectoryDoesNotExists = 'Source directory %s%s%s does not exists.';
|
lisSourceDirectoryDoesNotExist = 'Source directory %s%s%s does not exist.';
|
||||||
lisUnableToCreateDirectory = 'Unable to create directory %s%s%s.';
|
lisUnableToCreateDirectory = 'Unable to create directory %s%s%s.';
|
||||||
lisUnableToCopyFileTo = 'Unable to copy file %s%s%s%sto %s%s%s';
|
lisUnableToCopyFileTo = 'Unable to copy file %s%s%s%sto %s%s%s';
|
||||||
lisSorryThisTypeIsNotYetImplemented = 'Sorry, this type is not yet '
|
lisSorryThisTypeIsNotYetImplemented = 'Sorry, this type is not yet '
|
||||||
@ -1954,12 +1954,12 @@ resourcestring
|
|||||||
lisLaunchingApplicationInvalid = 'Launching application invalid';
|
lisLaunchingApplicationInvalid = 'Launching application invalid';
|
||||||
lisTheLaunchingApplicationDoesNotExistsOrIsNotExecuta = 'The launching '
|
lisTheLaunchingApplicationDoesNotExistsOrIsNotExecuta = 'The launching '
|
||||||
+'application %s%s%'
|
+'application %s%s%'
|
||||||
+'s%sdoes not exists or is not executable.%s%sSee Run -> Run parameters -> '
|
+'s%sdoes not exist or is not executable.%s%sSee Run -> Run parameters -> '
|
||||||
+'Local';
|
+'Local';
|
||||||
|
|
||||||
lisDebuggerInvalid = 'Debugger invalid';
|
lisDebuggerInvalid = 'Debugger invalid';
|
||||||
lisTheDebuggerDoesNotExistsOrIsNotExecutableSeeEnviro = 'The debugger %s%s%'
|
lisTheDebuggerDoesNotExistsOrIsNotExecutableSeeEnviro = 'The debugger %s%s%'
|
||||||
+'s%sdoes not exists or is not executable.%s%sSee Environment -> Debugger '
|
+'s%sdoes not exist or is not executable.%s%sSee Environment -> Debugger '
|
||||||
+'Options';
|
+'Options';
|
||||||
lisPleaseOpenAUnitBeforeRun = 'Please open a unit before run.';
|
lisPleaseOpenAUnitBeforeRun = 'Please open a unit before run.';
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ const
|
|||||||
{ Config Path Functions }
|
{ Config Path Functions }
|
||||||
|
|
||||||
{ The primary config path is the local or user specific path.
|
{ The primary config path is the local or user specific path.
|
||||||
If the primary config path does not exists, it will automatically be
|
If the primary config path does not exist, it will automatically be
|
||||||
created by the IDE.
|
created by the IDE.
|
||||||
The secondary config path is for templates. The IDE will never write to it.
|
The secondary config path is for templates. The IDE will never write to it.
|
||||||
If a config file is not found in the primary config file, Lazarus will
|
If a config file is not found in the primary config file, Lazarus will
|
||||||
@ -258,6 +258,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.41 2005/05/21 15:38:07 mattias
|
||||||
|
fixed some typos
|
||||||
|
|
||||||
Revision 1.40 2005/04/17 11:15:41 vincents
|
Revision 1.40 2005/04/17 11:15:41 vincents
|
||||||
implemented using default browser on windows
|
implemented using default browser on windows
|
||||||
|
|
||||||
|
@ -4564,7 +4564,7 @@ begin
|
|||||||
if FileExists(LRSFilename) and (FileAge(LFMFilename)<=FileAge(LRSFilename))
|
if FileExists(LRSFilename) and (FileAge(LFMFilename)<=FileAge(LRSFilename))
|
||||||
then exit;
|
then exit;
|
||||||
debugln('TMainIDE.DoUpdateLRSFromLFM ',LRSFilename,' ',dbgs(FileAge(LFMFilename)),' ',dbgs(FileAge(LRSFilename)));
|
debugln('TMainIDE.DoUpdateLRSFromLFM ',LRSFilename,' ',dbgs(FileAge(LFMFilename)),' ',dbgs(FileAge(LRSFilename)));
|
||||||
// the .lrs file does not exists, or is older than the .lfm file
|
// the .lrs file does not exist, or is older than the .lfm file
|
||||||
// -> update .lrs file
|
// -> update .lrs file
|
||||||
Result:=ConvertLFMToLRSFileInteractive(LFMFilename,LRSFilename);
|
Result:=ConvertLFMToLRSFileInteractive(LFMFilename,LRSFilename);
|
||||||
end;
|
end;
|
||||||
@ -4599,7 +4599,7 @@ begin
|
|||||||
case ErrorData.Error of
|
case ErrorData.Error of
|
||||||
ceSrcDirDoesNotExists:
|
ceSrcDirDoesNotExists:
|
||||||
MessageDlg(lisCopyError2,
|
MessageDlg(lisCopyError2,
|
||||||
Format(lisSourceDirectoryDoesNotExists, ['"', ErrorData.Param1, '"']),
|
Format(lisSourceDirectoryDoesNotExist, ['"', ErrorData.Param1, '"']),
|
||||||
mtError,[mbCancel],0);
|
mtError,[mbCancel],0);
|
||||||
ceCreatingDirectory:
|
ceCreatingDirectory:
|
||||||
MessageDlg(lisCopyError2,
|
MessageDlg(lisCopyError2,
|
||||||
@ -5146,7 +5146,7 @@ begin
|
|||||||
|
|
||||||
// check if file exists
|
// check if file exists
|
||||||
if FilenameIsAbsolute(AFilename) and (not FileExists(AFilename)) then begin
|
if FilenameIsAbsolute(AFilename) and (not FileExists(AFilename)) then begin
|
||||||
// file does not exists
|
// file does not exist
|
||||||
if (ofRevert in Flags) then begin
|
if (ofRevert in Flags) then begin
|
||||||
// revert failed, due to missing file
|
// revert failed, due to missing file
|
||||||
if not (ofQuiet in Flags) then begin
|
if not (ofQuiet in Flags) then begin
|
||||||
@ -11542,6 +11542,9 @@ end.
|
|||||||
|
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.865 2005/05/21 15:38:07 mattias
|
||||||
|
fixed some typos
|
||||||
|
|
||||||
Revision 1.864 2005/04/13 09:33:15 mattias
|
Revision 1.864 2005/04/13 09:33:15 mattias
|
||||||
implemented favourite properties for ObjectInspector
|
implemented favourite properties for ObjectInspector
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user