# Indent not always working

**URL:** https://www.finalbuilder.com/forums/t/indent-not-always-working/178
**Category:** Discussion
**Created:** [August 24, 2006, 5:25am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178 "2006-08-24T05:25:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 24, 2006, 5:25am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/1 "2006-08-24T05:25:25Z")

</div>

Hi,  
  
In my action list, Ctrl+left/right arrow work on some actions and not on others. Why?  
  
Thanks.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 24, 2006, 5:29am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/2 "2006-08-24T05:29:55Z")

</div>

Actually, I cannot indent the actions immediately following a comment. I wanted to outline action groups headed by a comment. But I can only indent the second action in the group and the following actions, but not the one following the comment. This is obviously intentional but I don’t see the rationale behind this decision.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 24, 2006, 5:31am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/3 "2006-08-24T05:31:34Z")

</div>

Also, it would be nice if we could insert blank lines in the action list. This would make the list more readable.  
Or did I miss it?  
  
Thanks.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 24, 2006, 6:07am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/4 "2006-08-24T06:07:56Z")

</div>

More details about this issue…  
  
Ideally, I shoudl be able to organize my action lists as follows (dashes are shown just because leading spaces are removed by the forum text editor):  
  
first level comment  
  
—second level comment  
------action 1  
------action 2  
  
—second level comment  
------action 3  
------action 4  
  
first level comment  
  
  
nicely arranged with blank lines. But I can’t for two reasons:  
  
1. I can’t indent anything following a comment.  
2. If I indent a comment, I can’t indent the next item past the indentation level of the preceding comment.  
  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 24, 2006, 6:31am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/5 "2006-08-24T06:31:52Z")

</div>

I have also tried to insert empty comments to create blank lines but the program automatically inserts the “Comment” string when the comment is empty.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 25, 2006, 1:25am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/6 "2006-08-25T01:25:47Z")

</div>

Hi Patrick,  
  
Thanks for your posts.   
  
Comments are somewhat different from other actions, in that they are never executed and therefore cannot have child actions. If you need this functionality,I suggest you just use Action Groups which are really the same as comments, except they actually get executed and can have children.  
  
As for the empty Comment string, I’ll look into working around this (it’s the default behaviour for all actions that if you erase the description, it resets to the action name, but I guess in the case of a Comment this makes no sense.) In the meantime, you can just use a single space character as the description and you’ll get the behaviour you want.  
  
Hth.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 25, 2006, 9:31am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/7 "2006-08-25T09:31:20Z")

</div>

Hi Angus,  
  
I don’t really need child actions. This is just a matter of presentation. I want to make my action list readable. I know that the next version will allow to change the color of comments which is already a good thing. But being able to nicely organize the action list (with blank lines and indentation) would be better.  
  
Finally, it _is_ source code 🙂 and it _must_ be readable. I’ll see if Action Groups can help.

---

<div class="post-metadata">

### Author: ![mainsoft](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mainsoft](https://www.finalbuilder.com/forums/u/mainsoft)
#### Post date: [August 25, 2006, 9:50am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/8 "2006-08-25T09:50:54Z")

</div>

OK. Using Action groups helps a lot. This and being able to colour the comments differently should be enough. Thanks.  
  
By the way, now that I have fully automatized the build of my current project, I see that FB makes me save a lot of time. I will advertise this.  
  
–   
Patrick Philippot - Microsoft MVP  
MainSoft Consulting Services  
[www.mainsoft.fr](http://www.mainsoft.fr)

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [August 31, 2006, 1:13am UTC](https://www.finalbuilder.com/forums/t/indent-not-always-working/178/9 "2006-08-31T01:13:26Z")

</div>

Hi Patrick,  
  
I’m glad this worked out for you, and especially glad your build process is working well. I’m guessing that you see now how indentation in FinalBuilder is caused by parent and child actions.  
  
Think of it like the auto-indent mode in your favourite IDE/Text Editor. :-). Action Groups are like curly braces.  
  
(Unless you’re a Python developer, in which case it probably makes no sense at all. ;-).)  
  
- Angus
