Re: [Lazarus] Fw: New Features for source editor
On Wed, Feb 25, 2009 at 04:41, Lee Jenkins l...@datatrakpos.com wrote: -Autocompletion in real-time (no type Ctrl+Space) This by far, is one of the most productive enhancements that any code editor can have. It is just amazing how fast you can code with this feature as well as reduce typo's. While I am not against adding this to Lazarus, I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
Alexander Klenin wrote: On Wed, Feb 25, 2009 at 04:41, Lee Jenkins l...@datatrakpos.com wrote: -Autocompletion in real-time (no type Ctrl+Space) This by far, is one of the most productive enhancements that any code editor can have. It is just amazing how fast you can code with this feature as well as reduce typo's. While I am not against adding this to Lazarus, I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Hmmm. I didn't think Delphi had this feature. I'm talking about Code Insight/helper that shows suggestions as you type. I type tstr and TString, TSTringList, etc is shown. I had to use CNWizards to get this functionality. -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
On Thu, Feb 26, 2009 at 22:17, Lee Jenkins l...@datatrakpos.com wrote: Alexander Klenin wrote: While I am not against adding this to Lazarus, I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Hmmm. I didn't think Delphi had this feature. I'm talking about Code Insight/helper that shows suggestions as you type. I type tstr and TString, TSTringList, etc is shown. I had to use CNWizards to get this functionality. Ah, then I misunderstood it too, I think the feature I talked about is called living templates or some such. -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
I just downloaded a snapshot of Lazarus 0.9.27 Beta to see this feature and it doesn't seems to be installed/enabled. How do I configure it? Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 Lee Jenkins escribió: Lucas wrote: -Autocompletion in real-time (no type Ctrl+Space) This by far, is one of the most productive enhancements that any code editor can have. It is just amazing how fast you can code with this feature as well as reduce typo's. See CNWizards for Delphi: http://www.cnpack.org/index.php?lang=en Their pack has such a feature and to boot, it's intelligent, taking into account how often you use a selection from the list as well as what was typed before invoking it. I would love to see this in Lazarus. -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New Features for source editor
Graeme Geldenhuys wrote: Add the following to your lazarus.dci file. Type begin and press ENTER, and the end will be added and the cursor indented to the correct position. To set this up via Lazarus IDE, go to: Environment | Code Templates. I have built up a huge collection for myself over the years and also use the Macro feature which is very handy. --[ lazarus.dci ]-- [begin | begin..end pair in realtime] $(AttributesStart) AutoOnLineBreak=true RemoveChar=true $(AttributesEnd) begin | end --[ end ] Can you share your live templates? Maybe we can add some to Lazarus? Best regards, Paul Ishenin. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
Alexander Klenin wrote: On Thu, Feb 26, 2009 at 22:17, Lee Jenkins l...@datatrakpos.com wrote: Alexander Klenin wrote: While I am not against adding this to Lazarus, I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Hmmm. I didn't think Delphi had this feature. I'm talking about Code Insight/helper that shows suggestions as you type. I type tstr and TString, TSTringList, etc is shown. I had to use CNWizards to get this functionality. Ah, then I misunderstood it too, I think the feature I talked about is called living templates or some such. Ah, OK. I have to tell you that I didn't take to live templates immediately either but they can be a real time saver. I even have a few that create entire units for me. -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Component palette issues
I think the component palette needs a little attention. First of all the default height of the palette is too tall. There is a bit of wasted space and it obscures the titles of the other windows (at least in Vista - I think this is a Vista issue because Vista has an extra padding property for composited windows that Lazarus doesn't take into account). Also the components need to be reorganizable. In other words you must be able to swap components around. For example, the OpenGL control is placed in its own tab which a) wastes tab space and b) there is no reason to be there. I would like to be able to move it somewhere else without recompiling the IDE. While on this topic, I think the groups are bad. There is no difference between Common Controls, Misc and Additional and very little between Standard and these three. I think some groups should be merged, but actually the best option would be to get rid of the Delphi grouping alltogether. It bugged me since the Delphi 5 that there is no reason for some groups to exist separately. I think it would be better to make groups by topic instead. Like what Visual C# or NetBeans uses for their designers. Using this way for example, a single component that is about serving HTTP requests could be placed in a Net tab instead of its own and the OpenGL control could be placed in a Graphics tab, a DataSet on a Data Sets tab, etc. Containers such as TPanel, TScrollBox, TForm etc can be placed on a Containers tab, buttons (and we have lots of these) can be placed on a Buttons tab, etc. Right now there is a lost of screen space wasted (in my 1680x1050 monitor each tab has more than its half empty with some tabs having only 2-3 controls) and you really need to check all tabs to find some control you're not sure where it is (Common Controls, Misc and Additional being usual culprits). Kostas Bad Sector Michalopoulos PS. Don't tell me Delphi does it this way or something similar. I'm using Lazarus not Delphi. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Component palette issues
Kostas Michalopoulos schreef: I think the component palette needs a little attention. First of all the default height of the palette is too tall. Fix the code to determine the correct height for your theme in TMainIDE.OnApplyWindowLayout(ALayout: TIDEWindowLayout) in lazarus\ide\main.pp around line 14934 (no, not just changing the 95 on line 14936). Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Component palette issues
Kostas Michalopoulos schrieb: Also the components need to be reorganizable. In other words you must be able to swap components around. The palette entry is determined by the component package(s), you'll have to rearrange everything after every rebuild of the IDE. It might help to have some alias definitions for palette entries, just like for units, which allow to replace given entry names by user specified ones. PS. Don't tell me Delphi does it this way or something similar. I'm using Lazarus not Delphi. RAD Studio has a new palette, that wastes even more screen space :-( But at least it allows to sort components e.g. by name, ignoring categories, and to select components by kind of auto completion. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
Alexander Klenin schrieb: -Autocompletion in real-time (no type Ctrl+Space) While I am not against adding this to Lazarus, ACK I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Most of the input features are helpful only to beginners, who never learned to type. People used to key-in with 10 fingers are only blocked by such features, and have to turn them all off. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
I just think that 10 finger typists with these tools could be equal to a 15 finger typists... :-) On Thu, Feb 26, 2009 at 5:12 PM, Hans-Peter Diettrich drdiettri...@aol.comwrote: Alexander Klenin schrieb: -Autocompletion in real-time (no type Ctrl+Space) While I am not against adding this to Lazarus, ACK I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Most of the input features are helpful only to beginners, who never learned to type. People used to key-in with 10 fingers are only blocked by such features, and have to turn them all off. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus -- o__ ,_./ _ (_)_\(_)___ ...speed is good ___ I believe five out of four people have a problem with fractions. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
Reenen Laurie schrieb: I just think that 10 finger typists with these tools could be equal to a 15 finger typists... :-) What's the benefit of using 15 fingers, at the speed of one? DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] To all SVN-followers = incompatible change
Any one who uses SVN, you may encounter a problem if updating to Version 18829 or above. This applies if: - you build Lazarus from within the IDE - have the new SynEdit-design package installed The make bigide should not be effected. Here is how to solve the issue: - Uninstall SynEdit-design *before* upgrading (it has been merged into SynEdit) If you have already upgraded you can also do this at the end. - You can build Lazarus via make bigide OR - Inside the IDE: check make clean build only LCL, Package-Registration, IDE-Interface UNcheck make clean build the remaining package (make sure you do not clean or rebuild the packages you have build above) restart the ide now you can uninstall SynEdit-design This is because the build-order has changed (you will notice this, once you restarted the IDE) -- sorry for the trouble Martin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fw: New Features for source editor
Hans-Peter Diettrich wrote: Alexander Klenin schrieb: -Autocompletion in real-time (no type Ctrl+Space) While I am not against adding this to Lazarus, ACK I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Most of the input features are helpful only to beginners, who never learned to type. People used to key-in with 10 fingers are only blocked by such features, and have to turn them all off. I'm a pretty fair typist having took it in school and did a lot of it even before I developed an interest in programming and for me, that feature still increases my code output tremendously. Not only that but since I don't have to do as much typing, I'm more apt to declare more self documenting variables and types as well. I like being able to type tobj and hit enter to end up with TObjectList and a space after it to continue typing. Just my personal preference. :) -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus