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

2011-12-05 Thread Colomban Wendling
Hi, I know this is a more than one year old discussion, but I was messing with a very similar thing a few minutes ago when wanting to add autoindent support for SH. Le 16/09/2010 22:17, Jiří Techet a écrit : On Thu, Sep 16, 2010 at 19:27, Thomas Martitz thomas.mart...@student.htw-berlin.de

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

2011-12-05 Thread Dimitar Zhekov
On Sun, 04 Dec 2011 19:22:55 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 04/12/2011 14:44, Dimitar Zhekov a écrit : It turned out to be quite easy, because the two meanings are actualy used separately... Great! A few comments: * I better see the new prefs under

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

2011-12-05 Thread Dimitar Zhekov
On Mon, 5 Dec 2011 03:21:45 +0800 Nathan Broadbent nathan@gmail.com wrote: 2009-10-14 05:49:13 ntrel: I suppose we could make the option 'Always wrap' and then change the dialog 'close' checkbox to apply to all actions. Sound OK Enrico? 2009-10-21 10:30:46 eht16: Nick, yes, sounds good.

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

2011-12-05 Thread Colomban Wendling
Le 05/12/2011 20:27, Dimitar Zhekov a écrit : On Sun, 04 Dec 2011 19:22:55 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 04/12/2011 14:44, Dimitar Zhekov a écrit : It turned out to be quite easy, because the two meanings are actualy used separately... Great! A few

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

2011-12-05 Thread Jiří Techet
On Mon, Dec 5, 2011 at 19:30, Colomban Wendling lists@herbesfolles.org wrote: Hi, I know this is a more than one year old discussion, but I was messing with a very similar thing a few minutes ago when wanting to add autoindent support for SH. Le 16/09/2010 22:17, Jiří Techet a écrit :

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

2011-12-05 Thread Matthew Brush
On 12/05/2011 01:27 PM, Colomban Wendling wrote: Applied, thanks! Ouch! I wonder how many hours it will take me to convert the old Glade 2 file to GtkBuilder *again*. I say we either delete the gtkbuilder branch or merge it into master. It's basically working fine for along time and I

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

2011-12-05 Thread Matthew Brush
On 12/05/2011 05:52 PM, Lex Trotman wrote: On Tue, Dec 6, 2011 at 12:18 PM, Matthew Brushmbr...@codebrainz.ca wrote: On 12/05/2011 01:27 PM, Colomban Wendling wrote: Applied, thanks! Ouch! I wonder how many hours it will take me to convert the old Glade 2 file to GtkBuilder *again*. I

[Geany-devel] Additions to Addon plugin

2011-12-05 Thread Meyer
Hi all, I've been working on an addition to the Addons plugin that gives a couple options for wrapping text with characters. It adds two check boxes to the plugin's preferences, one to enable auto wrapping and one to enable keybinded wrapping. Auto wrapping automatically wraps selected text as

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

2011-12-05 Thread Matthew Brush
On 12/05/2011 05:18 PM, Matthew Brush wrote: On 12/05/2011 01:27 PM, Colomban Wendling wrote: Applied, thanks! Ouch! I wonder how many hours it will take me to convert the old Glade 2 file to GtkBuilder *again*. FWIW, it didn't actually take too long to update the gtkbuilder branch.

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

2011-12-05 Thread Lex Trotman
[...] First, note that I wasn't able to find the patch, so I'm only guessing from reading the thread and from my own (much less complete) attempt. I'm afraid that if I had the patch it is on my broken hard drive :-S And anyway we never got it to work satisfactorily. So.  This looks pretty

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