In the Edit --> Prefs --> Editor pane --> Features section, you use the word "tabulators" (and also again in that item's popup help). I've never heard that term. I'm guessing it's the full and proper -- but arcane -- name for "tabs". You may want to change the occurrences of that word to the more current "tabs".
---John
On Wed, 25 Apr 2007 23:03:16 -0400 "John Gabriele" jmg3000@gmail.com wrote:
In the Edit --> Prefs --> Editor pane --> Features section, you use the word "tabulators" (and also again in that item's popup help). I've never heard that term. I'm guessing it's the full and proper -- but arcane -- name for "tabs". You may want to change the occurrences of that word to the more current "tabs".
---John
tab·u·la·tor (tăb'yə-lā'tər) pronunciation n.
1. One that tabulates. 2. A machine that reads, sorts, and prints out information from punched cards. 3. A mechanism on a typewriter for setting automatic stops or margins for columns. 4. Computer Science. A device for reading data from punched cards and producing printed lists or totals of the result. 5. One who counts, records, or lists systematically.
I havn't read the context myself..
Jeffrey Grembecki wrote:
On Wed, 25 Apr 2007 23:03:16 -0400 "John Gabriele" jmg3000@gmail.com wrote:
In the Edit --> Prefs --> Editor pane --> Features section, you use the word "tabulators" (and also again in that item's popup help). I've never heard that term. I'm guessing it's the full and proper -- but arcane -- name for "tabs". You may want to change the occurrences of that word to the more current "tabs".
---John
tab·u·la·tor (tăb'yə-lā'tər) pronunciation n.
- One that tabulates.
- A machine that reads, sorts, and prints out information from punched cards.
- A mechanism on a typewriter for setting automatic stops or margins for columns.
- Computer Science. A device for reading data from punched cards and producing printed lists or totals of the result.
- One who counts, records, or lists systematically.
I havn't read the context myself..
Just a comment, I would really like to be able to switch with a short cut between tab 4 and tab 8 like is possible with mousepad.
Something like ctrl + tab or whatever, it is most wanted feature here :-D
Jelle
On Thu, 26 Apr 2007 08:38:45 +0200, Jelle de Jong jelledejong@powercraft.nl wrote:
Jeffrey Grembecki wrote:
On Wed, 25 Apr 2007 23:03:16 -0400 "John Gabriele" jmg3000@gmail.com wrote:
In the Edit --> Prefs --> Editor pane --> Features section, you use the word "tabulators" (and also again in that item's popup help). I've never heard that term. I'm guessing it's the full and proper -- but arcane -- name for "tabs". You may want to change the occurrences of that word to the more current "tabs".
---John
tab·u·la·tor (tăb'yə-lā'tər) pronunciation n.
- One that tabulates.
- A machine that reads, sorts, and prints out information from
punched cards. 3. A mechanism on a typewriter for setting automatic stops or margins for columns. 4. Computer Science. A device for reading data from punched cards and producing printed lists or totals of the result. 5. One who counts, records, or lists systematically.
I havn't read the context myself..
3. sounds like it is what we mean, should we change it anyway?
Just a comment, I would really like to be able to switch with a short cut between tab 4 and tab 8 like is possible with mousepad.
Ok, I'll go to add it. But I'm still not convinced that it will be a commonly used feature ;-).
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On 4/27/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 26 Apr 2007 08:38:45 +0200, Jelle de Jong jelledejong@powercraft.nl wrote:
Just a comment, I would really like to be able to switch with a short cut between tab 4 and tab 8 like is possible with mousepad.
Ok, I'll go to add it. But I'm still not convinced that it will be a commonly used feature ;-).
Just curious: what is the Jelle talking about? The only place I see a setting for tabs is in Edit --> Prefs --> Files tab, with "Tab Width" and the "replace tabs by space" checkbox.
If it's just a matter of making the tab key work twice when you hit it once, why not just hit the tab key twice when you want to indent more?
Not sure if this is related, but one feature that's useful for folks who use all spaces all the time is a way to insert a real tab character into a file (the only place I can think of where this is useful is for editing a makefile). Can Geany do this? I don't see a key command for it in Help --> Keyboard shortcuts, or Prefs --> Key Bindings, or in Appendix B of the docs. If Geany can't do it, I recommend an "insert real tab" menu item in the Edit menu. This feature probably wouldn't get a lot of use, so I'd suggest it doesn't need to take up a key binding. Incidentally, not sure how well that would work when you have the "replace tabs by spaces" pref enabled...
Note: some editors provide an "insert verbatim" or "insert quoted" command where you can insert all sorts of things (I'm guessing less-often-used ascii control characters?). Dunno how useful that is for folks. I've only ever used it to get a tab in a makefile.
---John
On Fri, 27 Apr 2007 13:24:37 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 4/27/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 26 Apr 2007 08:38:45 +0200, Jelle de Jong jelledejong@powercraft.nl wrote:
Just a comment, I would really like to be able to switch with a short cut between tab 4 and tab 8 like is possible with mousepad.
Ok, I'll go to add it. But I'm still not convinced that it will be a commonly used feature ;-).
Just curious: what is the Jelle talking about? The only place I see a setting for tabs is in Edit --> Prefs --> Files tab, with "Tab Width" and the "replace tabs by space" checkbox.
If it's just a matter of making the tab key work twice when you hit it once, why not just hit the tab key twice when you want to indent more?
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs. But when mixing tab indentation with spaces a fixed tab width is useful. I would prefer to not mix tabs and spaces and we hadn't to discuss this.
Not sure if this is related, but one feature that's useful for folks who use all spaces all the time is a way to insert a real tab character into a file (the only place I can think of where this is useful is for editing a makefile). Can Geany do this? I don't see a key command for it in Help --> Keyboard shortcuts, or Prefs --> Key Bindings, or in Appendix B of the docs. If Geany can't do it, I recommend an "insert real tab" menu item in the Edit menu. This feature probably wouldn't get a lot of use, so I'd suggest it doesn't need to take up a key binding. Incidentally, not sure how well that would work when you have the "replace tabs by spaces" pref enabled...
I already thought about that problem. Probably it is useful to use always tabs when we are editing a Makefile but an option to insert just a real tab is less filetyper specific and can be used more generally. I'm not sure at the moment.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
Enrico Tröger wrote:
On Fri, 27 Apr 2007 13:24:37 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 4/27/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 26 Apr 2007 08:38:45 +0200, Jelle de Jong jelledejong@powercraft.nl wrote:
Just a comment, I would really like to be able to switch with a short cut between tab 4 and tab 8 like is possible with mousepad.
Ok, I'll go to add it. But I'm still not convinced that it will be a commonly used feature ;-).
Just curious: what is the Jelle talking about? The only place I see a setting for tabs is in Edit --> Prefs --> Files tab, with "Tab Width" and the "replace tabs by space" checkbox.
If it's just a matter of making the tab key work twice when you hit it once, why not just hit the tab key twice when you want to indent more?
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
But when mixing tab indentation with spaces a fixed tab width is useful. I would prefer to not mix tabs and spaces and we hadn't to discuss this.
Not sure if this is related, but one feature that's useful for folks who use all spaces all the time is a way to insert a real tab character into a file (the only place I can think of where this is useful is for editing a makefile). Can Geany do this? I don't see a key command for it in Help --> Keyboard shortcuts, or Prefs --> Key Bindings, or in Appendix B of the docs. If Geany can't do it, I recommend an "insert real tab" menu item in the Edit menu. This feature probably wouldn't get a lot of use, so I'd suggest it doesn't need to take up a key binding. Incidentally, not sure how well that would work when you have the "replace tabs by spaces" pref enabled...
I already thought about that problem. Probably it is useful to use always tabs when we are editing a Makefile but an option to insert just a real tab is less filetyper specific and can be used more generally. I'm not sure at the moment.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On 4/27/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Enrico Tröger wrote:
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
Sounds like a good solution might be to add a button to the toolbar that aliases the Edit --> Prefs --> Files tab --> New Files: "Tab Width" control.
---John
On Fri, 27 Apr 2007 14:09:38 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 4/27/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Enrico Tröger wrote:
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
Sounds like a good solution might be to add a button to the toolbar that aliases the Edit --> Prefs --> Files tab --> New Files: "Tab Width" control.
I don't think so. This would blow up the GUI with a button which is quite seldom used. So, I would prefer to add a shortcut to switch between tab widths which doesn't confuse or annoy people who don't want/need to use it.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On Sat, 28 Apr 2007 13:19:07 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 27 Apr 2007 14:09:38 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 4/27/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Enrico Tröger wrote:
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
Sounds like a good solution might be to add a button to the toolbar that aliases the Edit --> Prefs --> Files tab --> New Files: "Tab Width" control.
I don't think so. This would blow up the GUI with a button which is quite seldom used. So, I would prefer to add a shortcut to switch between tab widths which doesn't confuse or annoy people who don't want/need to use it.
Just a little update (to be honest I forgot that a little bit): I will delay the implementation for about two weeks. Reason is that we are going to release a new version and will announce a string freeze. I don't want to add this feature in a hurry and add a couple of new potential bugs shortly before we are releasing. Sorry Jelle, please be (again) patient.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On 5/8/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sat, 28 Apr 2007 13:19:07 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 27 Apr 2007 14:09:38 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 4/27/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Enrico Tröger wrote:
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
Sounds like a good solution might be to add a button to the toolbar that aliases the Edit --> Prefs --> Files tab --> New Files: "Tab Width" control.
I don't think so. This would blow up the GUI with a button which is quite seldom used. So, I would prefer to add a shortcut to switch between tab widths which doesn't confuse or annoy people who don't want/need to use it.
Just a little update (to be honest I forgot that a little bit): I will delay the implementation for about two weeks. Reason is that we are going to release a new version and will announce a string freeze. I don't want to add this feature in a hurry and add a couple of new potential bugs shortly before we are releasing. Sorry Jelle, please be (again) patient.
Just wanted to add: when I want to make an update the docbook manual, I have to manually switch the editor to use all tabs. That is, I usually edit using only spaces for indentation, but to edit a doc that uses tabs, I need to go to Edit --> Preferences, and find the two places where tab settings are located (Files tab, "replace tabs by space upon saving"; and Editor tab, "use tabs when inserting whitespace").
Then when I'm done, I need to do those steps again in reverse to get back to my regular work. It's a bit of a pain.
Anyhow, I don't know what your plans are for adding the feature Jelle asked about, but it might be helpful if you were to also consider a solution for easily hopping between:
* indenting (and saving) with spaces and * indenting with tabs (with no conversion to spaces upon save).
Again, it's not awful the way it is now -- just seems like it could be easier. And it might be something easily integrated with the feature Jelle asked about.
By the way, regarding adding stuff to the toolbar: it wouldn't blow up the GUI if you added something, but left it disabled (unchecked in the Preferences --> Toolbar items tab).
---John
On 04/26/2007 04:03:16 AM, John Gabriele wrote:
In the Edit --> Prefs --> Editor pane --> Features section, you use the word "tabulators" (and also again in that item's popup help). I've never heard that term. I'm guessing it's the full and proper -- but arcane -- name for "tabs". You may want to change the occurrences of that word to the more current "tabs".
I agree - it's now changed in SVN. I was meaning to do this earlier ;-)
Regards, Nick