[Geany-devel] Greetings from an IDE refugee

2011-11-26 Thread Nathan Broadbent
Hello, I'm a Ruby on Rails programmer with a bit of C and C++ experience. I was using gedit 2.x the gmate plugins happily for over a year, until Ubuntu 11 decided to go to GTK3, and bump gedit to 3.x. All my plugins are no longer compatible, so I decided that it was about time to find a new

Re: [Geany-devel] Greetings from an IDE refugee

2011-11-26 Thread Nathan Broadbent
Hi Lex, Thanks for your reply. Certainly you could use a plugin to provide an improvement in auto-closing braces etc.  In general these days it is preferable that all language specific parts go in plugins so they don't interfere with other languages.  Since braces are shared by all the C

Re: [Geany-devel] Greetings from an IDE refugee

2011-11-26 Thread Nathan Broadbent
If I understand you correctly, you're referring to this bug report [1]. It was recently discussed on the list [2], and there is even some code implementing the feature as a plugin [3]. [1] https://sourceforge.net/tracker/?func=detailaid=3383201group_id=153444atid=787794 [2]

[Geany-devel] I'd like to write a lexer for HAML. Can I invoke sub-lexers, and can I set up simple TDD?

2011-11-29 Thread Nathan Broadbent
Dear Scintilla Geany mailing lists, I would like to write a Scintilla lexer for the HAML syntax. HAML is used by many (if not most) Ruby on Rails developers. It is an indented HTML markup language with inline Ruby evaluation. It also needs to support many embedded syntaxes, such as javascript,

[Geany-devel] Unit tests for Geany (continued from Github)

2011-11-29 Thread Nathan Broadbent
(continued from github - https://github.com/geany/geany/pull/15) I don't think any of Geany's developers will argue that having some sort of unit testing would be a good idea, especially for the plugin API, but mainly it boils down to:  1) What framework to use (Geany is written in plain

Re: [Geany-devel] Unit tests for Geany (continued from Github)

2011-11-30 Thread Nathan Broadbent
, Frank Lanitz fr...@frank.uvena.de wrote: Am 30.11.2011 07:36, schrieb Nathan Broadbent: P.S. The documentation needs to be updated for the 'waf' build system, in quite a few places, including geany-plugins. I don't refer to other points as I would need to catch up discussion on github before (wth

Re: [Geany-devel] (no subject)

2011-12-01 Thread Nathan Broadbent
Hi Alex, I'm also really keen for this feature, so could I please request a recent copy of the plugin? Perhaps you could update your repo on github? I'd like to start using it right away, and could help to fix any bugs. I also really think that this should to be added to the 'Auto-close quotes

[Geany-devel] Default search behavior is irritating

2011-12-03 Thread Nathan Broadbent
Hello, It took me a little while to find the Search preferences. I did not expect them to be filed under 'General' - 'Miscellaneous'. From a usability perspective: In my attempt to configure search, I first looked in Editor, and then Interface. I was getting very irritated with the message

Re: [Geany-devel] Default search behavior is irritating

2011-12-03 Thread Nathan Broadbent
* Move the 'Search' preferences to 'Editor' - 'Search  Replace', instead of 'General' - 'Miscellaneous' * Remove the Always wrap search and hide the Find dialog setting. * Add a 'Wrap search' checkbox to the Find dialog, below the 'Close dialog' checkbox. * Make 'Wrap search' checked by

Re: [Geany-devel] Default search behavior is irritating

2011-12-03 Thread Nathan Broadbent
my personal preference is to always wrap search, but keep the find dialog open. This is your personal preference only. Yes, I was just saying that I would like my personal preference to be possible I'm not really against having a General - Search tab, but I'm not sure having a tab

Re: [Geany-devel] Default search behavior is irritating

2011-12-04 Thread Nathan Broadbent
It turned out to be quite easy, because the two meanings are actualy used separately... -- E-gards: Jimmy Thanks very much for the patch, it works great! - Make 'Wrap search' checked by default. And that'll irritate anyone who prefers not to wrap, and has to uncheck 'Wrap

Re: [Geany-devel] Default search behavior is irritating

2011-12-04 Thread Nathan Broadbent
(close dialog currently only closes the dialog for find all style options) This is true. However, if you look at the Add wrapped search [1] feature request (which is still open), Nick Treleaven and Enrico Tröger had a conversation about changing this back in 2009: 2009-10-14 05:49:13 ntrel: I

Re: [Geany-devel] Indentation using regex (was [PATCH 14/19] Rewrite tab switching queue)

2011-12-05 Thread Nathan Broadbent
1. calculate the indent each change, and then ripple that through the file 2. calculate the indent each change and only apply it to this line 3. calculate and apply the indent to lines N and N-1 only on new line or user command 4. calculate and apply the indent on user command Option 1 is

Re: [Geany-devel] Indentation using regex (was [PATCH 14/19] Rewrite tab switching queue)

2011-12-06 Thread Nathan Broadbent
Actually the plugin is option 3,   It is return plus user activated, just some activations are normal keys. Aha, I understand. Thanks for the explanation. Maybe it works for Ruby, but it doesn't for C, and after looking at the code I don't see how it can possibly generate GNU style

[Geany-devel] Having trouble with keybindings

2011-12-07 Thread Nathan Broadbent
Hello, I'm working on the TreeBrowser plugin. I have fixed a few bugs, so I'm looking forward to sending pull requests when geany-plugins is on github :) I'm currently trying to add a keybinding for deleting objects from the treeview. I have added a KB_DELETE_OBJECT keybinding, and I've mapped

Re: [Geany-devel] Geany Color Schemes and Extras Page

2011-12-07 Thread Nathan Broadbent
So what I propose is to move these links (and also the online color scheme generator) to a sub-page or sub-section for legacy color schemes, with a description about when to use which colour schemes with which versions. This way people who use older Geany versions can still access them but

Re: [Geany-devel] Just a stupid github question: How to merge a pull request with fast forward?

2011-12-13 Thread Nathan Broadbent
See question from subject line. How can I merge a pull request without adding a new commit stating the merge? Is there some kind of ff or cherry-pick available through front end? Hi, You can't do a cherry pick or rebase through the front-end. I think adding this 'merge pull request' commit

Re: [Geany-devel] Just a stupid github question: How to merge a pull request with fast forward?

2011-12-13 Thread Nathan Broadbent
You can't do a cherry pick or rebase through the front-end. I think adding this 'merge pull request' commit is a good idea, since it shows more information about where the commit came from. OK. So I assume its best practice also on github to do so? Yes, this is a best practice. It's also

Re: [Geany-devel] Wrap words Addon patch

2011-12-13 Thread Nathan Broadbent
Now that the geany-plugins has been converted to Git, I thought I'd post this patch that adds the feature I've been working on (wrapping text with characters) to the Addons plugin.  Any chance of it being added? Hi Alex, Now that geany-plugins is on github, we can take advantage of the

Re: [Geany-devel] Just a stupid github question: How to merge a pull request with fast forward?

2011-12-13 Thread Nathan Broadbent
And another question: Is github allowing to do an automatic rebase for forks? E.g. I have forked geany-plugins into my namespace https://github.com/frlan/geany-plugins and want to keep it up to date. Do I need to to it locally with git remote --add etc. or is there any gui for? It's not