Re: [Lazarus] More explorations with tiOPF
Op 2011-03-16 19:20, Marco van de Voort het geskryf: (one should make a difference between using a DB mainly as storage layer, and a full transactionally-safe RDBMS. MySQL is traditionally mostly used for the former) True. I can also argue that any project that calls themselves a database, or database server, or RDBMS, should not just guarantee a storage layer, but also what you put into the storage layer is what you get out of the storage layer, plus the base line relational database features one would expect from todays software. MySQL fails on many of those points, and definitely has the issue of 'what you put in is not guaranteed what you get out'. I must admit, MySQL 5.x has greatly improved in functionality and reliability of data - but it doesn't come close to matching Firebird, Postgress, DB2, MS-SQL Server, Oracle etc in features and data reliability. I think the only positive point for MySQL is that for some insane reason it got associated/included with the toolset LAMP. To many management type people only know the keywords or acronyms of the month, but not really the technology behind them - thus they often make the wrong decisions when it comes to what software to use. That's life I guess. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Method in record type, is possible?
Am 17.03.2011 03:19, schrieb silvioprog: 2011/3/16 Paul Ishenini...@kmiac.ru: 17.03.2011 8:46, silvioprog wrote: Is there a snapshot copy compatible with that type of record? Use FPC 2.5.1 snapshot. You can activate records with methods either by using {$mode delphi} or by {$modeswitch advancedrecords} in other modes. Yes! Worked perfectely. /o/ The only missing thing are normal constructors currently - class constructors do work (@Paul: or did you already enable them?) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Method in record type, is possible?
17.03.2011 15:23, Sven Barth wrote: The only missing thing are normal constructors currently - class constructors do work (@Paul: or did you already enable them?) No. Florian thought to assist me regards record constructors but he has no time. I don't have a free time to invest into FPC currently :( Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Method in record type, is possible?
Am 17.03.2011 09:33, schrieb Paul Ishenin: 17.03.2011 15:23, Sven Barth wrote: The only missing thing are normal constructors currently - class constructors do work (@Paul: or did you already enable them?) No. Florian thought to assist me regards record constructors but he has no time. I don't have a free time to invest into FPC currently :( Oh. Ok. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thu, Mar 17, 2011 at 17:07, zeljko zel...@holobit.net wrote: On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have. I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thu, 17 Mar 2011, Alexander Klenin wrote: On Thu, Mar 17, 2011 at 17:07, zeljko zel...@holobit.net wrote: On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have. I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this It depends on the key mapping. In classic IDE, F2 means save file, as it has been since 198X in the old Turbo Pascal IDEs So F2 is not really a good choice. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Am 17.03.2011 10:14, schrieb Alexander Klenin: On Thu, Mar 17, 2011 at 17:07, zeljkozel...@holobit.net wrote: On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have. I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) There are already differences in the key mappings. E.g. in Delphi you need to use Ctrl+Shift+I to indent a selection while in Lazarus Ctrl+I is enough. If you want the key mappings Delphi compatible, then you should select them that way (maybe a Delphi compatible key configuration can be added for those people). 2) IMO F2 is too prominent for this That on the other hand might indeed be a valid reason for not using it... Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Op 2011-03-17 11:49, michael.vancanneyt@be het geskryf: So F2 is not really a good choice. Well, in the default Lazarus key mapping, F2 is undefined, so there is no problem in using it. Then again, is any key mapping a problem - after all you can customize your key mappings to suite your needs. I know my key mappings are anything but standard, because most default keyboard shortcuts (in any application) are near impossible to type easily with the Dvorak keyboard layout. The world has gone Qwerty crazy! So I remap keyboard shortcuts to what I find easy to type. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Op 2011-03-17 12:14, Sven Barth het geskryf: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) There are already differences in the key mappings. As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE. If you want the key mappings Delphi compatible, then you should select them that way (maybe a Delphi compatible key configuration can be added for those people). Indeed this will be the best choice for those die-hard Delphi fans. Simply use Delphi only, or create a new Delphi IDE key mapping scheme. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Am 17.03.2011 11:23, schrieb Graeme Geldenhuys: Op 2011-03-17 12:14, Sven Barth het geskryf: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) There are already differences in the key mappings. As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE. And I hope the secord part keeps to be valid ;) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Am 17.03.2011 11:19, schrieb Graeme Geldenhuys: Op 2011-03-17 11:49, michael.vancanneyt@be het geskryf: So F2 is not really a good choice. Well, in the default Lazarus key mapping, F2 is undefined, so there is no problem in using it. Then again, is any key mapping a problem - after all you can customize your key mappings to suite your needs. I know my key mappings are anything but standard, because most default keyboard shortcuts (in any application) are near impossible to type easily with the Dvorak keyboard layout. The world has gone Qwerty crazy! So I remap keyboard shortcuts to what I find easy to type. Seems to be a bit easier for Neo users like me ^^ Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Op 2011-03-17 12:26, Sven Barth het geskryf: And I hope the secord part keeps to be valid ;) Me too. Imagine we need to start installing Mono just to run the Lazarus IDE. :-/ Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thu, 17 Mar 2011 12:23:00 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2011-03-17 12:14, Sven Barth het geskryf: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) There are already differences in the key mappings. As far as I know the Lazarus project only wants LCL to be Delphi compatible, NOT necessarily the Lazarus IDE. True. Lazarus has several key mapping schemes. See options / Key Mappings. If you want the key mappings Delphi compatible, then you should select them that way (maybe a Delphi compatible key configuration can be added for those people). Indeed this will be the best choice for those die-hard Delphi fans. Simply use Delphi only, or create a new Delphi IDE key mapping scheme. There is no Delphi scheme, because that would only work under Windows and even then some functions are missing or work differently. In other words, calling a key mapping Delphi is an invitation for bug reports. Maybe a mode almost like Delphi (Windows) could be added. I like Graeme's idea of a one/two page short cut view with common keys. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
I like the [F2] idea as I still don't use this function... ...But a Delphi's Like keymapping for don't like sounds like a good idea too... William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/3/17 michael.vancann...@wisa.be On Thu, 17 Mar 2011, Alexander Klenin wrote: On Thu, Mar 17, 2011 at 17:07, zeljko zel...@holobit.net wrote: On Thursday 17 of March 2011 08:02:16 Graeme Geldenhuys wrote: Op 2011-03-16 22:29, Žilvinas Ledas het geskryf: And another observation - wouldn't it be better to have simpler shortcut for Rename identifier? e. g. MonoDevelop uses F2 (as Windows uses it to rename a file). Brilliant idea! I use shortcuts extensively, but for some reason could never remember the default one for rename identifier. So I used Shift+F6 - the same shortcut as in Total Commander (also a tool I use often, even under Linux) for renaming files. F2 is even better. :) Now only if I can find the time to complete my IDE add-on that allows you to print out your keyboard shortcuts as a reference card. Yes, that would be nice thing to have. I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this It depends on the key mapping. In classic IDE, F2 means save file, as it has been since 198X in the old Turbo Pascal IDEs So F2 is not really a good choice. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
michael.vancann...@wisa.be kirjoitti torstai 17 maaliskuu 2011 11:49:51: On Thu, 17 Mar 2011, Alexander Klenin wrote: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this It depends on the key mapping. In classic IDE, F2 means save file, as it has been since 198X in the old Turbo Pascal IDEs So F2 is not really a good choice. Ok, the classic theme is not used by default but it can be selected from Options - Key mappings. I think it is not compatible with recent Delphis either. Note also that I have NOT changed the classic theme. In the default theme F2 was not used for anything. IMO the most logical use is to rename a variable. In file managers it is already a standard, on many platforms. This makes it very intuitive. You are in source editor and want to rename - press F2. Renaming an identifier is a prominent feature, it deserves a prominent shortcut. Ctrl+Shift+E still works in default theme, too. The key mapping luckily supports alternative shortcuts. The only visible difference is that now F2 shows in the menu item caption because I set F2 as the choice number one. If I reverse the order then menu caption shows Ctrl+Shift+E and nobody will notice a difference unless he actually presses F2. I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thu, 17 Mar 2011 13:11:38 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] Renaming an identifier is a prominent feature, it deserves a prominent shortcut. +1 [...] I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping. Note: If you add a short cut and the user had already assigned the short cut to another function, then the IDE will not warn on loading, but only in the options dialog. What function is executed depends on the internal order. Please mail the new key combinations to the list and add them to the list of 0.9.31 changes. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Mattias Gaertner kirjoitti torstai 17 maaliskuu 2011 13:33:01: I feel that more default shortcuts should be defined. They don't hurt anybody. And indeed, you can always change the key mapping. Note: If you add a short cut and the user had already assigned the short cut to another function, then the IDE will not warn on loading, but only in the options dialog. What function is executed depends on the internal order. Please mail the new key combinations to the list and add them to the list of 0.9.31 changes. Hmmm... The user defined mapping should have a preference. It means that the user may have to redefine his mapping after the defaults are changed. I have one more menu change coming which merges Environment menu with Tools menu. I also defined Shift+Ctrl+O as a shortcut for Options ... Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Thu, Mar 17, 2011 at 21:11, Juha Manninen juha.mannine...@gmail.com wrote: In the default theme F2 was not used for anything. IMO the most logical use is to rename a variable. In file managers it is already a standard, on many platforms. This makes it very intuitive. You are in source editor and want to rename - press F2. Renaming an identifier is a prominent feature, it deserves a prominent shortcut. Ctrl+Shift+E still works in default theme, too. The key mapping luckily supports alternative shortcuts. I have no objection as long as Ctrl+Shift+E works ;) -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] datamodule shown twice...
hi in topic ide hangs you can read what been going on with my Lazarus... as you know my ide hanged i managed to get it back ...had some problems with datamodule not finding ancestor been shown as Tform that was solved by ide but now i have shown datamodule twice in project options|forms ...can i just ignore it? or should i again make new project and add files to it ? and then again question raises do i also add lfm files to the project or just pas files..thank you. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] datamodule shown twice...
On Thu, 17 Mar 2011 12:48:59 +0100 Eduard Filipas eduard.fili...@volja.net wrote: hi in topic ide hangs you can read what been going on with my Lazarus... as you know my ide hanged i managed to get it back ...had some problems with datamodule not finding ancestor been shown as Tform that was solved by ide but now i have shown datamodule twice in project options|forms ...can i just ignore it? Yes. Or you could close the project and edit the lpi file and remove the wrong entry. or should i again make new project and add files to it ? and then again question raises do i also add lfm files to the project or just pas files..thank you. Pas files are enough. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Environment and Tools menus
Jesus Reyes kirjoitti keskiviikko 16 maaliskuu 2011 21:02:07: Another drawback is that refactor translates to refactorización in spanish, too long word and when you don't have a wide monitor or simply don't want IDE main form maximized, every pixel counts. I merged Environment menu with Tools menu. I was planning to wait until the separate setting dialogs are gone but maybe it is better change already now. Note, finally there will be only two items to care about, Options ... and Rescan FPC source directory. Their location in Tool menu can be discussed of course. Now the idea is to have the external tools first, then the moved Options. Configure Build Lazarus is still the last one. Other choice is to place Options at the end. (Or, to the beginning). Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Hello, On 2011-03-17 11:14, Alexander Klenin wrote: I'd vote for Ctrl+Shift+E: 1) Delphi compatibility (it is importatnt for me at least, at times I have to switch IDE's every 15 minutes) 2) IMO F2 is too prominent for this Don't forget we can have more than one shortcut for one command ;) Regards Žilvinas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Stock Charting with Lazarus
On Wed, Mar 16, 2011 at 06:27, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone know how can I draw an Open, High, Low, Close chart (for stock charting) with Lazarus/TChart?. An example of what I need: http://download.oracle.com/docs/html/A96127_01/img/stock_ohlc.gif I have implemented TOpenHighLowCloseSeries based on the Wikipedia description: http://en.wikipedia.org/wiki/Open-high-low-close_chart See OHLC page in the multidemo since r29890. Please test. Also, the wikipedia entry indicates that lines might have different color based on the upward/downward proce movement. Do you need this feature? -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Environment and Tools menus
On Thu, 17 Mar 2011, Juha Manninen wrote: Jesus Reyes kirjoitti keskiviikko 16 maaliskuu 2011 21:02:07: Another drawback is that refactor translates to refactorización in spanish, too long word and when you don't have a wide monitor or simply don't want IDE main form maximized, every pixel counts. I merged Environment menu with Tools menu. I was planning to wait until the separate setting dialogs are gone but maybe it is better change already now. Note, finally there will be only two items to care about, Options ... and Rescan FPC source directory. Their location in Tool menu can be discussed of course. Now the idea is to have the external tools first, then the moved Options. Configure Build Lazarus is still the last one. Other choice is to place Options at the end. (Or, to the beginning). I would place them at the beginning. It's what I use most except for rebuild lazarus. Michael.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Environment and Tools menus
michael.vancann...@wisa.be kirjoitti torstai 17 maaliskuu 2011 15:46:45: I would place them at the beginning. It's what I use most except for rebuild lazarus. Done. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Synedit and SynWeb port
Best Regards I'm amateur of programming, I started a port the version 2.0.5 of Synedit and the TSynWeb v1.5 for lazarus. Works quite well on Windows, In Linux has some problems with the repainting fundamentally. With some help ,I think I can fully porting. I would like to contact the person who created the current port that comes with lazarus, to solve these problems. I would also like to know if it's exist a great difference between Lazarus Synedit and the version 2.0.5 list of units ported to lazarus SynCompletionProposal.pas SynEditHighlighter.pas SynEditKbdHandler.pas SynEditKeyCmds.pas SynEditKeyConst.pas SynEditMiscClasses.pas SynEditMiscProcs.pas SynEdit.pas SynEditScrollBar.pas SynEditStrConst.pas SynEditTextBuffer.pas SynEditTypes.pas SynEditWordWrap.pas SynHighlighterMulti.pas SynHighlighterPas.pas SynRegExpr.pas SynTextDrawer.pas I put some screenshots in http://wiki.lazarus.freepascal.org/SynEdit/port sorry for my basic english ;) -- * En la tierra hace falta personas que trabajen más y critiquen menos, que construyan más y destruyan menos, que prometan menos y resuelvan más que esperen recibir menos y dar más que digan mejor ahora que mañana. Che * -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Synedit and SynWeb port
On 17/03/2011 20:12, Reinier Napoles Martinez wrote: Best Regards I'm amateur of programming, I started a port the version 2.0.5 of Synedit and the TSynWeb v1.5 for lazarus. Works quite well on Windows, In Linux has some problems with the repainting fundamentally. With some help ,I think I can fully porting. I would like to contact the person who created the current port that comes with lazarus, to solve these problems. Not sure who created the lazarus port. The lazarus port was started long ago. In the past 2 years I have however maintained it, and added to it. Start asking I would also like to know if it's exist a great difference between Lazarus Synedit and the version 2.0.5 The difference are huge. Lazarus version is based on Synedit 1.1 or 1.2, and was refactored later Btw, what do you hope of a new port? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] inconviniance....
hi inconviniance is that when having lazarus open and working on project and then clicking via explorer on some file it will open another instance of lazarus and opening same project and open a file and then you get this warnings that file changed on disk that exe cannot bi built ..now on win 7 is easyly to overlook that you have same program opened twice ...but when your into coding your mind is not on such litle things and then you go ...what the hell!? i hope you get the picture its wery annoying theres no need to automaticly open last project ...i can survive if i have to make one click on open recent project...i hope there will be someone agreeing with me ...or ill just die :DD regards Eduard Filipas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] inconviniance....
On 3/17/11 6:09 PM, Eduard Filipas wrote: inconviniance is that when having lazarus open and working on project and then clicking via explorer on some file it will open another instance of lazarus and opening same project and open a file and then you get this warnings that file changed on disk that exe cannot bi built. I agree with Eduard that this is annoying and we should have the ability to NOT have the last project automatically loaded when Lazarus starts. Is that not a configuration choice? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Synedit and SynWeb port
Martin write Btw, what do you hope of a new port? I'm not completely sure if I answer your question. I want port all the components of Synedit to lazarus to be 100% functional. Later I want port SynEditStudio components, who allow loading the syntax from XML and supports unicode. For example the Component SynCompletionProposal supports pretty textout Handle two StringList,insertList and ItemList. Supports Param completion and show hint about the code Example: SynCompletionProposal1.InsertList.Add('constructor \column{}\style{+B}Create\style{-B}(AOwner: TCustomSynEdit)') SynCompletionProposal1.ItemList.Add('Create'); print Create in bold on the Completion window and insert Create in the editor The Synedit component support around the 50 Syntax Highlighter. about SynWeb Some features:taken from http://code.google.com/p/synweb/ * support for embedded: o PHP, CSS, JS in XHTML/HTML o PHP in CSS (.css), JS (.js), WML * support for ANSI and Unicode version of SynEdit * faster about 2-10 times than using TSynMultiSyn * full validation for tags (also checks for valid '/' or '/') and its attributes for HTML across difference versions (for XHTML - case sensitive) * values in tags without quotation are also highlighted as ValueAttrib (only in HTML, in XHTML is highlighted as error because, XHTML doesn't allow for unquoted values) * support for WML 1.1/1.2/1.3 * in CSS validation for tags (you can set also HTML version) * validation for special entity characters (eg. amp;, copy;) * almost FULL validation for CSS across CSS1 and CSS2.1 * support for script language=php as start tag for PHP (also ?, ?php, ?=, %) * end tags for PHP doesn't stop in strings, comments (stops only in singleline), etc, you can now write ?xml ... ? and PHP mode doesn't stop, * support for custom HEREDOC names (defined in TStringList, or any you type - comparing based on CRC8) * support for encapusled vars or escaped chars in strings (different highlighter attrib) with error checking * any word in PHP (but not keyword or function name) written in UpperCase highlighted as ConstantAttrib * ActiveHighlighterSwitch - see demo (check 'Active HL' in demo app) * parsed source code of php to get built-in function names (for php4 and php5+PECL) * any many more. How I can share the code I've changed with the lazarus project Sorry for my english ;) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] inconviniance....
Rich, and then clicking via explorer on some file it will open another instance of lazarus I agree with Eduard that this is annoying and we should have the ability to NOT have the last project automatically loaded when Lazarus starts. Is that not a configuration choice? The ability to NOT have the last project automatically loaded when Lazarus starts does exist. Environment Options Environment, Open last project on start checkbox. That won't work if it's a file you have [dbl]clicked on ... Eduards case. Not sure what would solve the problem Eduard has ... some want to be able to open additional IDEs. -- DSK Posted with XanaNews 1.19.1.269 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Synedit and SynWeb port
On 17/03/2011 22:31, Reinier Napoles Martinez wrote: Martin write Btw, what do you hope of a new port? I'm not completely sure if I answer your question. I want port all the components of Synedit to lazarus to be 100% functional. Later I want port SynEditStudio components, who allow loading the syntax from XML and supports unicode. ok google brings up mainly Chinese sites for synedit studio = and I can't understand that... The Synedit component support around the 50 Syntax Highlighter. there are ported versions of some: http://bugs.freepascal.org/view.php?id=18248 about SynWeb Some features:taken from http://code.google.com/p/synweb/ * faster about 2-10 times than using TSynMultiSyn yeah, synmultisyn is not a solution, it's a workaround... If SynWeb is a highlighter, it may be possible to port it to lazarus' synedit = then folding could be added. That would however be a considerable amount of work (and I do not have that much time at the moment.) How I can share the code I've changed with the lazarus project You can always make it an installable package. Not sure how to solve the name conflicts though. Sorry for my english ;) No reason to be sorry. A lot of people on this list aren't native english speakers -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] inconviniance....
Rich, If the Open last project on start is not checked, why does the IDE open the last project when you double click on a Pascal source file? Seems completely wrong to me. A now I get it ... yea, I agree that's not good. I'd use a word [maybe several] other than inconvenient that's for sure :) -- DSK Posted with XanaNews 1.19.1.269 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fpchess
To communicate with internet chess servers that are compatible with ICC/FICS I know zippy but it is for engines, and not for human players, the code are embedded in the xbord/winboard interfaces: http://tim-mann.org/zippy.html (and, of course, it is not written in Pascal) But the software behind FICS is free software, and many interfaces are free too. I will try to improve the project but I'm still a newbie in Lazarus. And I don't know if I should do that but I comment the line {$R *.res} to make the program to compile, I'm using Fedora 14 64bits. I guess you compiled in windows, right?. Regards, Brian Chalega da Silva Date: Thu, 17 Mar 2011 10:23:11 +0100 Subject: Re: [Lazarus] fpchess From: felipemonteiro.carva...@gmail.com To: brianchal...@hotmail.com On Wed, Mar 16, 2011 at 6:53 PM, Brian Chalega da Silva brianchal...@hotmail.com wrote: The compiler don't find the TUNBPage component. Rename it to TPage in the pas file and in the LFM file The same for TUntabbedNotebook - TNotebook Would be more difficult, but I think that will be necessary to add connection with one server like FICS or ICC to make this program more atractive. You mean one of those internet chess servers? I read that this is an option, but I couldn't find any documentation about how to communicate with them. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus