From 501d18e6dbaf9fe4da7264f32a31eee63c11c247 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 11 Dec 2010 12:47:43 +0000 Subject: [PATCH] IDEIntf: doc git-svn-id: trunk@28684 - --- .gitattributes | 1 + ideintf/docs/lazideintf.xml | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 ideintf/docs/lazideintf.xml diff --git a/.gitattributes b/.gitattributes index 65cfa9a987..9f0991fd39 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3915,6 +3915,7 @@ ideintf/dbpropedits.pas svneol=native#text/pascal ideintf/docs/formeditingintf.xml svneol=native#text/plain ideintf/docs/ideimagesintf.xml svneol=native#text/plain ideintf/docs/ideoptionsintf.xml svneol=native#text/plain +ideintf/docs/lazideintf.xml svneol=native#text/plain ideintf/fieldseditor.lfm svneol=native#text/plain ideintf/fieldseditor.pas svneol=native#text/pascal ideintf/fieldslist.lfm svneol=native#text/plain diff --git a/ideintf/docs/lazideintf.xml b/ideintf/docs/lazideintf.xml new file mode 100644 index 0000000000..f22daa6bf3 --- /dev/null +++ b/ideintf/docs/lazideintf.xml @@ -0,0 +1,11 @@ + + + + + + Searches the file name of a unit + If TheOwner is nil the current project is searched. TheOwner can be a project, a package or LazarusIDE. The unit is searched in the unit search path of the the base directory using the codetools unit search rules. It will find units of used packages too, the unit name is case insensitive and the normal extensions .pas, .pp are tried. In case of LazarusIDE it will search in all open packages. If the AFileName contains an extension it will also search in the files listed in the project inspector. It returns the empty string if not found. If the file name is not absolute the file was not newly created and not yet saved to disk. + + + +