Re: [Lazarus] new lcl CHMs.
On 2018-05-20 21:49, Marco van de Voort via Lazarus wrote: > rem drink coffee for 10 minutes or so. Building the INF docs has a similar experience. Glad its not just me. :-) Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Lazarus Make error under Ubuntu Mate
Hi, under Ubuntu Mate 16.04.4 LTS with Lazarus 1.6 and FPC 3.0.0 I tried to make Lazarus, Revision 57978. Compiling was aborted with this error message: '... guitestrunner.pas(682/24) Error: (5083) Identifier idents no member "ChildTestCount"'. How to fix? -- Joe -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] new lcl CHMs.
On Sun, May 20, 2018 at 08:05:45PM +0200, Werner Pamler via Lazarus wrote: > I downloaded the chm-zips from your site, copied them into the folder > (lazarus)/docs/chm of Laz 1.8.2, and followed the "steps to reproduce" > of the bug report #32325 (on Windows): Yes, the new files seem to work > fine. Thank you. (note they are for trunk lazarus, not 1.8.x. Somebody might want to run them for 1.8.x. If the doc setup is the same, it should be very easy. I assume you know it, but for the benefits of the others: 0. build a trunk fpc to get a new fpdoc 1. fetch the FPC doc chm 2. get a 1.8.x source checkout and compile docs/html/build_lcl_docs.lpi 3. run it like this in docs/html: rem change path so that trunk FPDOC is found. path d:\fpc32\bin\i386-win32;%PATH% rem replace --fpcdocs argument with where you put the extract FPC chms build_lcl_docs.exe --warnings --fpcdocs d:\help --outfmt chm 2>&1 1> logs.txt rem drink coffee for 10 minutes or so. ) -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Comparing strings case-insensitive and ignoring accents
On Sun, May 20, 2018 at 2:39 PM, Marc Weustink via Lazaruswrote: > > > > On May 20, 2018 4:06:42 AM GMT+02:00, "Marcos Douglas B. Santos via Lazarus" > wrote: > >Hi, > > > >Is there any (fast) built-in function in RTL or LCL that compare two > >strings using case-insensitive and ignoring accents? > > > >These strings are UTF-8. > > For comparing case insensitive strings you can use SameText(). Don't know if > there is a function to strip accents. Hey Marc. I know about SameText that calls CompareText, but I need to combine with other one that strip accents. I can make it, but I prefer use built-in functions for do not have issues about encode, etc. Thanks, anyway. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] new lcl CHMs.
Am 20.05.2018 um 19:09 schrieb Marco van de Voort via Lazarus: Hello, I generated trunk CHMs for LCL as a testcase after fixing bug #32325. Hopefully 4000+ cases of this issue (TStringgrid.align redirection in the index failed) were fixed. Experimental CHMs are at http:/www.stack.nl/~marcov/new304/lcl-chm.zip which are linked against the newer FPC 3.0.4 chms at http:/www.stack.nl/~marcov/new304/doc-chm.zip As an experiment, the Lazarus CHMs were generated on Windows. Please report any anomalies. A log is included and contains a warning/hint to list the cases where the fix engages. If there are new problems check against the log if the relevant symbol was fixed. Log looks like: resolved:grids/tstringgrid.align.html to controls/tcontrol.align.html The committed version minorly improved on the message. Marco I downloaded the chm-zips from your site, copied them into the folder (lazarus)/docs/chm of Laz 1.8.2, and followed the "steps to reproduce" of the bug report #32325 (on Windows): Yes, the new files seem to work fine. Thank you. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Comparing strings case-insensitive and ignoring accents
On May 20, 2018 4:06:42 AM GMT+02:00, "Marcos Douglas B. Santos via Lazarus"wrote: >Hi, > >Is there any (fast) built-in function in RTL or LCL that compare two >strings using case-insensitive and ignoring accents? > >These strings are UTF-8. For comparing case insensitive strings you can use SameText(). Don't know if there is a function to strip accents. Marc > -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] new lcl CHMs.
Hello, I generated trunk CHMs for LCL as a testcase after fixing bug #32325. Hopefully 4000+ cases of this issue (TStringgrid.align redirection in the index failed) were fixed. Experimental CHMs are at http:/www.stack.nl/~marcov/new304/lcl-chm.zip which are linked against the newer FPC 3.0.4 chms at http:/www.stack.nl/~marcov/new304/doc-chm.zip As an experiment, the Lazarus CHMs were generated on Windows. Please report any anomalies. A log is included and contains a warning/hint to list the cases where the fix engages. If there are new problems check against the log if the relevant symbol was fixed. Log looks like: resolved:grids/tstringgrid.align.html to controls/tcontrol.align.html The committed version minorly improved on the message. Marco -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE multi-carets issue
On 20/05/2018 09:16, AlexeyT via Lazarus wrote: I have 4 carets on lines c.SetValue('/dialog/fl_btm/posx', FFormFloatBottom.Left); c.SetValue('/dialog/fl_btm/posy', FFormFloatBottom.Top); c.SetValue('/dialog/fl_btm/sizex', FFormFloatBottom.Width); c.SetValue('/dialog/fl_btm/sizey', FFormFloatBottom.Height); at start of str. Now i press Right key to move carets to right==> they disappear. There is an option (Tools > Option > Editor > General): "Multi Caret Move with cursor" Actually 2 options: - The "(column select)" is when you used alt-shift-(mouse or cursor keys) to get your carets. - The other is for all other multi carets (set by mouse: Shift Ctrl Left, or keys: Shift Ctrl Insert) Currently this option includes vertical AND horizontal moves. So you need to set a shortcut to clear all extra carets. (keymap options) To have an option for only horizontal moves is on the Todo. Equally TODO, if you press del at the end of the line (especially if only some carets are at the end of line), currently the line breaks are deleted and lines are joined. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] IDE multi-carets issue
I have 4 carets on lines c.SetValue('/dialog/fl_btm/posx', FFormFloatBottom.Left); c.SetValue('/dialog/fl_btm/posy', FFormFloatBottom.Top); c.SetValue('/dialog/fl_btm/sizex', FFormFloatBottom.Width); c.SetValue('/dialog/fl_btm/sizey', FFormFloatBottom.Height); at start of str. Now i press Right key to move carets to right==> they disappear. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus