<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bfwiki.tellefsen.net//index.php?action=history&amp;feed=atom&amp;title=Development_-_Indenting_and_Formatting</id>
	<title>Development - Indenting and Formatting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bfwiki.tellefsen.net//index.php?action=history&amp;feed=atom&amp;title=Development_-_Indenting_and_Formatting"/>
	<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;action=history"/>
	<updated>2026-05-23T19:49:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1809&amp;oldid=prev</id>
		<title>Bill Valaski: moved Man 2 ch12 to Development - Indenting and Formatting:&amp;#32;Title updates (BV)</title>
		<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1809&amp;oldid=prev"/>
		<updated>2010-07-09T10:13:16Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php/Man_2_ch12&quot; class=&quot;mw-redirect&quot; title=&quot;Man 2 ch12&quot;&gt;Man 2 ch12&lt;/a&gt; to &lt;a href=&quot;/index.php/Development_-_Indenting_and_Formatting&quot; title=&quot;Development - Indenting and Formatting&quot;&gt;Development - Indenting and Formatting&lt;/a&gt;: Title updates (BV)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:13, 9 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Bill Valaski</name></author>
	</entry>
	<entry>
		<id>https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1129&amp;oldid=prev</id>
		<title>Fal7i at 11:40, 31 December 2009</title>
		<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1129&amp;oldid=prev"/>
		<updated>2009-12-31T11:40:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:40, 31 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__NOTOC__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__NOEDITSECTION__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Man2top&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Man2top&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|lang=en&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|lang=en&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|next=Man 2 ch12s02&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|next=Man 2 ch12s02&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Chapter XII. Development guidelines ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; background-color:#E5ECF9;border:1px solid #3061C2;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; background-color:#E5ECF9;border:1px solid #3061C2;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[# Indenting and formating style|1. Indenting and formating style]]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[# Indenting and formating style|1. Indenting and formating style]]  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fal7i</name></author>
	</entry>
	<entry>
		<id>https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1000&amp;oldid=prev</id>
		<title>Fal7i: Created page with &#039;__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=Chapter&amp;nbsp;XII.&amp;nbsp;Development guidelines |prev=Man 2 ch11s05 |Subtitle=Part&amp;nbsp;3.&amp;nbsp;Developing Bl…&#039;</title>
		<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Development_-_Indenting_and_Formatting&amp;diff=1000&amp;oldid=prev"/>
		<updated>2009-12-30T08:57:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=Chapter XII. Development guidelines |prev=Man 2 ch11s05 |Subtitle=Part 3. Developing Bl…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{{Man2top&lt;br /&gt;
|lang=en&lt;br /&gt;
|rev=2.0.0&lt;br /&gt;
|st=d&lt;br /&gt;
|Title=Chapter&amp;amp;nbsp;XII.&amp;amp;nbsp;Development guidelines&lt;br /&gt;
|prev=Man 2 ch11s05&lt;br /&gt;
|Subtitle=Part&amp;amp;nbsp;3.&amp;amp;nbsp;Developing Bluefish&lt;br /&gt;
|next=Man 2 ch12s02&lt;br /&gt;
}}&lt;br /&gt;
== Chapter XII. Development guidelines ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; background-color:#E5ECF9;border:1px solid #3061C2;&amp;quot;&amp;gt;&lt;br /&gt;
*[[# Indenting and formating style|1. Indenting and formating style]] &lt;br /&gt;
*[[Man 2 ch12s02|2. Naming]] &lt;br /&gt;
*[[Man 2 ch12s03|3. Declaring procedures]] &lt;br /&gt;
*[[Man 2 ch12s04|4. Header files]] &lt;br /&gt;
*[[Man 2 ch12s05|5. New files]] &lt;br /&gt;
*[[Man 2 ch12s06|6. File reference]] &lt;br /&gt;
*[[Man 2 ch12s07|7. Patches]] &lt;br /&gt;
*[[Man 2 ch12s08|8. Translations]] &lt;br /&gt;
**[[Man 2 ch12s08#|po-files-introduction 8.1. Introduction]] &lt;br /&gt;
**[[Man 2 ch12s08#|po-files-basics 8.2. PO files basics]] &lt;br /&gt;
**[[Man 2 ch12s08#|po-files-shortcuts 8.3. Shortcut keys]] &lt;br /&gt;
**[[Man 2 ch12s08#|po-files-contribute 8.4. How to contribute]] &lt;br /&gt;
*[[Man 2 ch12s09|9. Some tips]] &lt;br /&gt;
*[[Man 2 ch12s10|10. Making releases]] &lt;br /&gt;
*[[Man 2 ch12s11|11. Useful stuff]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Work hard but have fun!&lt;br /&gt;
&lt;br /&gt;
== 1. Indenting and formating style ==&lt;br /&gt;
Indenting can be done with the &amp;#039;&amp;#039;&amp;#039;indent&amp;#039;&amp;#039;&amp;#039; command line tool. Bluefish uses tabs - not spaces, and I&amp;#039;ll explain why.&lt;br /&gt;
&lt;br /&gt;
Some programmers prefer a lot of indenting, 8 characters, some prefer less, 3 characters. If Bluefish code was indented with spaces, these programmers had a problem, they would have to change the files to view it in their favourite layout. But because we use tabs, these programmers can simply set the tab width to a different value, and without changing the files it looks good for both programmers!&lt;br /&gt;
&lt;br /&gt;
To indent properly with &amp;#039;&amp;#039;&amp;#039;indent&amp;#039;&amp;#039;&amp;#039;, issue this command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; indent --line-length 100 --k-and-r-style --tab-size 4 \&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;-bbo --ignore-newlines bluefishcode.c&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Comment all public functions like it is done in bf_lib.c and gtk_easy.c (javadoc style, with some small differences), this can be used to create a function reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Man2bottom&lt;br /&gt;
|prev=Man 2 ch11s05&lt;br /&gt;
|up=Man 2 pt03&lt;br /&gt;
|next=Man 2 ch12s02&lt;br /&gt;
|prevname= 5.&amp;amp;nbsp;Options in the Images Tab&lt;br /&gt;
|nextname=2.&amp;amp;nbsp;Naming&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Fal7i</name></author>
	</entry>
</feed>