Re: [Lazarus] LHelp and LazMouseAndKeyInput package

2021-02-21 Thread Andrey Sobol via lazarus
On 22.02.2021 1:45, Juha Manninen via lazarus wrote: Now I studied how LazMouseAndKeyInput is used in LHelp. Juha, read this https://www.codeproject.com/Tips/76427/How-to-bring-window-to-top-with-SetForegroundWindo That problem was before, but now I don`t see it. -- Andrey Sobol. -- __

Re: [Lazarus] LHelp and LazMouseAndKeyInput package

2021-02-21 Thread Andrey Sobol via lazarus
On 22.02.2021 1:45, Juha Manninen via lazarus wrote: Help has improved lately thanks to Andrey Sobol's patches mostly. However a new dependency was added: LazMouseAndKeyInput. On Linux and UNIX systems it pulls in libXtst dependency. LHelp is part of Lazarus BigIde target which is used for releas

Re: [Lazarus] LHelp memory leak

2021-02-15 Thread Andrey Sobol via lazarus
Hello, I have tested with FPC 3.2.1, FPC trunc and Lazarus trunc I don`t see any leaks. P.S. The leaks checking I have an enabled always. I spent many time for a fixing leaks :) Andrey. On 15.02.2021 14:36, Juha Manninen via lazarus wrote: I finally configured LHelp as a CHM help viewer in 

Re: [Lazarus] How to hide pop-up menu before taking a screen snapshot?

2021-02-07 Thread Andrey Sobol via lazarus
Try to call Application.ProcessMessages(); after disable a popup menu. Andrey. On 07.02.2021 17:09, Bo Berglund via lazarus wrote: On Sun, 7 Feb 2021 14:01:46 +, Denis Kozlov via lazarus wrote: I had a similar experience with taking a screenshot programmatically. Simply waiting or proc

Re: [Lazarus] Some IDE/LHelp issues

2021-02-07 Thread Andrey Sobol via lazarus
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote: Hi Andy I've patched LHelp.exe with lhelp_index_combine_04.patch. The "unknown" tab issue is partly solved. Now all tabs have a caption. There's one strange behaviour: [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and [User's

Re: [Lazarus] Some IDE/LHelp issues

2021-02-04 Thread Andrey Sobol via lazarus
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote: Hi Andy I've patched LHelp.exe with lhelp_index_combine_04.patch. The "unknown" tab issue is partly solved. Now all tabs have a caption. There's one strange behaviour: [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and [User's

Re: [Lazarus] Some IDE/LHelp issues

2021-02-04 Thread Andrey Sobol via lazarus
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote: Hi Andy I've patched LHelp.exe with lhelp_index_combine_04.patch. The "unknown" tab issue is partly solved. Now all tabs have a caption. There's one strange behaviour: [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and [User's

Re: [Lazarus] Some IDE/LHelp issues

2021-02-02 Thread Andrey Sobol via lazarus
Hello Rolf, 1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1 context help) it opens with 11 tabs. Some of them have a caption, some of them are [unknown]. The [unknown] ones come up with an error message "ms-its:xyz.chm::/index.html not found!" That is my TODO for lHelp, You

[Lazarus] Change of lfm files

2021-01-26 Thread Andrey Sobol via lazarus
Hello, Let us suppose, I have changed a form inside tool/debugserver I see what inside .lfm file a version of LCL changed from 1.3 to 2.10 for example. What is policy about LCL compatibility for patches? Where can I read about this? -- Andrey -- ___

[Lazarus] FPDoc chms and code examples - second thread

2021-01-16 Thread Andrey Sobol via lazarus
e code examples can be found in lazarus/examples directory, they even > have browser, embedded in IDE (create project, browse samples). > > On Fri, Jan 15, 2021, 10:53 Andrey Sobol via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> Hello, >> I see that nobod

Re: [Lazarus] FPDoc chms and code examples

2021-01-16 Thread Andrey Sobol via lazarus
browser, embedded in IDE (create project, browse samples). On Fri, Jan 15, 2021, 10:53 Andrey Sobol via lazarus < lazarus@lists.lazarus-ide.org> wrote: Hello, I see that nobody used to a tag for creating documentation lcl, lazutil. That tag is used only the fpc team. I have read a documentati

Re: [Lazarus] lHelp improvements

2020-12-30 Thread Andrey Sobol via lazarus
Querying all registered help databases is easy: lcl unit lazhelpintf for i:=0 to HelpDatabases.Count-1 do HelpDatabases[i]... For example the IDE registers fpdoc help for RTL, FCL and LCL to open the lazarus-ccr web pages. The chmhelppkg replaces them with its own and opens chm files inste

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Andrey Sobol via lazarus
Afaik most of the binary indexes (index, FTS) can be mergesorted together rather cheaply and then stored on disk. Using these rather than converting everything to text and then parse that again would make it very fast. This is what HH does. Even faster is caching the result of the merge on

Re: [Lazarus] lHelp improvements

2020-12-27 Thread Andrey Sobol via lazarus
On Sun, 27 Dec 2020 17:15:23 +0300 Соболь Андрей Евгеньевич via lazarus wrote: Hi, guys. I am trying to do the lHelp more convenient. Great! And after I have combined a chm indexes on start, I think about next step. What I see... 1. Exist a contradiction of behavior for contex searching