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] 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
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] the new menu source
Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now. Delphi 2009 has about the same number of menu items as Lazarus now. The biggest difference is now the Source menu which Delphi doesn't have. Source menu is implemented by some other IDEs and was suggested for Lazarus by Mattias. It seems to be a useful menu, although often it is difficult to tell if an item belongs to Edit, Source or Refactor menu. Eclipse has Source menu but otherwise I would not follow many or their inventions. For example they have Run - External Tools. It is logical somehow but not intuitive. It takes time to find it. Then they have Window - Preferences. Why Window? Some of their GUI design looks odd and shows it is made by different people with different ideas. That is a problem with any open source project of course. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
And BTW, shortcuts combined of two sequencial keys like Ctrl+K, L show now properly in menu caption. At least Edit and Source menus have some. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On 16/03/2011 10:56, Juha Manninen wrote: Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now. looks great, minor ideas: I would change some ordering. e.g Indent/unindent block: currently come after upper/lowercase sleection. I would move them to the top of that particular menu-section. That is ... -- Indent selection Unindent selection Uppercase Selection I believe there are more often used (and more often looked for) than the upper/lower entries. So they should be first. And also items right after the divider, are more outstanding, easier to find. just my 2 cents (another 2 cents from me) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
--- El mié 16-mar-11, Juha Manninen juha.mannine...@gmail.com escribió: De: Juha Manninen juha.mannine...@gmail.com Asunto: Re: [Lazarus] the new menu source A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Fecha: miércoles, 16 de marzo de 2011, 4:56 Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now. Delphi 2009 has about the same number of menu items as Lazarus now. The biggest difference is now the Source menu which Delphi doesn't have. Source menu is implemented by some other IDEs and was suggested for Lazarus by Mattias. It seems to be a useful menu, although often it is difficult to tell if an item belongs to Edit, Source or Refactor menu. Having source and refactor menus is IMO too much, why not insert Refactor menu as a submenu of Source menu. Taking a look at the sub-menus refactor menu offer, most useful actions are the first three, which can be invoked by shortcut (and that is probably what everybody does while editing the code). So why it needs such prominent place in Main menu? 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. Eclipse has Source menu but otherwise I would not follow many or their inventions. For example they have Run - External Tools. It is logical somehow but not intuitive. It takes time to find it. Then they have Window - Preferences. Why Window? Some of their GUI design looks odd and shows it is made by different people with different ideas. That is a problem with any open source project of course. Jesus Reyes A. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Hello all, On 2011-03-16 21:02, Jesus Reyes wrote: --- El mié 16-mar-11, Juha Manninenjuha.mannine...@gmail.com escribió: De: Juha Manninenjuha.mannine...@gmail.com I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO It is quite good now. Delphi 2009 has about the same number of menu items as Lazarus now. The biggest difference is now the Source menu which Delphi doesn't have. Source menu is implemented by some other IDEs and was suggested for Lazarus by Mattias. It seems to be a useful menu, although often it is difficult to tell if an item belongs to Edit, Source or Refactor menu. Having source and refactor menus is IMO too much, why not insert Refactor menu as a submenu of Source menu. I second that. 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). Regards Žilvinas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Žilvinas Ledas kirjoitti keskiviikko 16 maaliskuu 2011 22:29:14: Hello all, On 2011-03-16 21:02, Jesus Reyes wrote: [..] Having source and refactor menus is IMO too much, why not insert Refactor menu as a submenu of Source menu. I second that. The idea is to have more refactor items in the future. Then it makes more sense to have a menu for it. The length of main menu can be a problem with translated caption texts because there are so many items now. At least Environment menu will be merged with Tools menu when the remaining setting dialogs are integrated to Options dialog. It helps a bit. 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). Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything? Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to Rename identifier as an alternative shortcut. Both work now. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On 2011-03-16 23:26, Juha Manninen wrote: The idea is to have more refactor items in the future. Then it makes more sense to have a menu for it. The length of main menu can be a problem with translated caption texts because there are so many items now. At least Environment menu will be merged with Tools menu when the remaining setting dialogs are integrated to Options dialog. It helps a bit. Ok, I understand. It as a WIP ;) Either way - these menu rearrangements are good! 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). Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything? Sorry, can't help you with that. I do not use Delphi for a few years now. Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to Rename identifier as an alternative shortcut. Both work now. Great, thanks! Regards Žilvinas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On Turbo Delphi (Borland Developer Studio 2006 Free) only works if you select a file on project manager, renaming it. William de Oliveira Ferreira Bacharel em Sistemas de Informação Good idea. Delphi uses Ctrl-Shift-E. Does it use F2 for anything? Lazarus ClassicScheme mapping has F2 for Save file but ClassicScheme is not used. The default mapping had F2 free so I assigned it to Rename identifier as an alternative shortcut. Both work now. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] the new menu source
I mentioned some of this before, but I did so along with many other points, and the other points where more like ideas and not so important. At the moment, a few of the menu items (of those that did get moved) are definitely misplaced. A source menu suggests that items in there are either specific actions *only* available to source (implies pascal, since Lazarus is a pascal IDE); or at the very least items that have very little exceptions from this only rule. Items that are correct in the source menu: - comment/uncomment/toggle comment - insert ifdef - insert todo - message composer (isn't that actually a tool?) items that one could get away with: -insert ... license. Though some licenses may apply to none source too? (I haven't checked) same for insert...cvs = any file can be in cvs Items that definitely do not belong there: - insert from char map - upper/lower selection - tabs to spaces / spaces to tab - indent selection (this does no source specific indent, the indent works the same for all kind of files) - break lines - sort selection (Imho rather unlikely on source, far more likely on data like ini files...) For those last items I can find absolutely nothing, that connects them with source Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
Martin kirjoitti perjantai 11 maaliskuu 2011 23:24:31: [...] Items that definitely do not belong there: - insert from char map Yes, first I thought that all the Insert ... items should be in one place but actually they could be split. I will look at it. - upper/lower selection - tabs to spaces / spaces to tab - indent selection (this does no source specific indent, the indent works the same for all kind of files) - break lines - sort selection (Imho rather unlikely on source, far more likely on data like ini files...) For those last items I can find absolutely nothing, that connects them with source Please update to a newer trunk version. They have been in Edit menu already for some days. Message Composer actually inserts the composed message to source. It belongs to Source menu quite naturally. I was thinking if JEDI code format belongs there because it has many sub- items. It is only affecting the source though. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the new menu source
On 12/03/2011 00:21, Juha Manninen wrote: Martin kirjoitti perjantai 11 maaliskuu 2011 23:24:31: [...] Items that definitely do not belong there: - insert from char map Yes, first I thought that all the Insert ... items should be in one place but actually they could be split. I will look at it. The insert ones aren't to much trouble (though char map, should move back). - upper/lower selection - tabs to spaces / spaces to tab - indent selection (this does no source specific indent, the indent works the same for all kind of files) I'd still say indent should go back, but not a big issue. Please update to a newer trunk version. They have been in Edit menu already for some days. My apologies... I thought I had, but either I updated the wrong directory, or something else failed Yeah much better now Message Composer actually inserts the composed message to source. It belongs to Source menu quite naturally. with jcf moved, yes. I was thinking if JEDI code format belongs there because it has many sub- items. It is only affecting the source though. +1 Great work. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus