[Geany] How to stop fileheader from indenting?

Enrico Tröger enrico.troeger at xxxxx
Sun Jan 24 12:14:26 UTC 2010


On Fri, 22 Jan 2010 17:58:49 +0100, Dominic wrote:

>Am Freitag, den 22.01.2010, 16:34 +0000 schrieb Nick Treleaven:
>> On Fri, 22 Jan 2010 10:52:48 -0500
>> "Michael A. Brooke" <mbrooke at magstarinc.com> wrote:
>> 
>> > I an new to Geany, could someone help me in stopping the
>> > fileheader from indenting with whitespace whenever I use it from
>> > the menu bar.
>> 
>> It seems to be hardcoded in templates.c:
>> 
>> templates_get_template_fileheader()
>> ...
>> 	result = make_comment_block(template, ft_id, 8);
>> 
>> So if you build from source, Try setting the 8 to 0.
>> 
>> We should make it configurable by editing a template file IMO.
>I really would appreciate this, yes. It also would solve the issue,
>that this actually seem to be 8 spaces and doesn't fit to the rest of a
>document if you use tabs for indentation.

Yeah, I stumpled upon that code today as well. No idea why we
(probably me), added the value 8 at all. Well, at least there is no
doubt about we should make that configurable.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20100124/84046879/attachment.pgp>


More information about the Users mailing list