[fpc-devel] Determin file size - how?y

Michael Schnell mschnell at lumino.de
Mon Dec 19 10:41:11 CET 2011


On 12/19/2011 10:08 AM, Graeme Geldenhuys wrote:
>
> Yes, DocView supports many search term formats...
>
>    "my phrase"     - Will seach for that exact phrase
>    my phrase       - will search for any of those two words.
>    my +phare   - will search for a topic that contains both works (not
> necessarly next to each other)
>    my -phrase   - will searchfor a topic that contains 'my', but not 'phrase'
Great !
Thanks for you "help on help".

(I hope that this explanation is right on the fingertips of anybody who 
installed DocView in Lazarus.
Trying to check this I tied to compile the DocView project but I git:
   /usr/bin/ld: warning: 
/home/mschnell/Downloads/svn/fpGUI/docview/src/units/i386-linux/link.res 
contains output sections; did you forget -T?
   /usr/bin/ld: 
/home/mschnell/Downloads/svn/fpGUI/lib/i386-linux/fpg_x11.o: undefined 
reference to symbol 'FcFontSetDestroy'
   /usr/bin/ld: note: 'FcFontSetDestroy' is defined in DSO 
/usr/lib/libfontconfig.so.1 so try adding it to the linker command line
   /usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation
   docview.lpr(42,1) Error: Error while linking
   docview.lpr(42,1) Fatal: There were 1 errors compiling module, stopping

   obviously silly me forgot something essential (again)
)

I sincerely hope that finally DocView will get fully integrated in the 
Lazarus IDE on the default distribution.


> DocView also has a rating system - to indicate how exact / close the
> patch was. DocView also searches for variations of words if an exact
> phrase was not specified.
>
>
> Example:
> Here is the DocView search result for 'file +handling' using the RTL.INF file.
>
>     http://opensoft.homeip.net:8080/~graemeg/docview_search_result.png
>
> Typing the two works 'file handling'  (without any quotes) in the
> Index tab search field, would also have found the "file handling
> routines" help topic.
This does sound great.

-Michael




More information about the fpc-devel mailing list