Indenting: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Fal7i (talk | contribs)
m Created page with '__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=Chapter VII. More than a Text Editor |prev=Man 2 ch06s05 |Subtitle=Part 2. Using Bluefi…'
 
Fal7i (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOEDITSECTION__
{{Man2top
{{Man2top
|lang=en
|lang=en
Line 6: Line 4:
|st=d
|st=d
|Title=Chapter VII. More than a Text Editor
|Title=Chapter VII. More than a Text Editor
|prev=Man 2 ch06s05
|prev=Templates
|Subtitle=Part 2. Using Bluefish
|Subtitle=Part 2. Using Bluefish
|next=Man 2 ch07s02
|next=Man 2 ch07s02
}}
}}
== Chapter VII. More than a Text Editor ==
 
<div style="float:right; background-color:#E5ECF9;border:1px solid #3061C2;">
<div style="float:right; background-color:#E5ECF9;border:1px solid #3061C2;">
*[[#1. Indenting|1. Indenting]]  
*[[#1. Indenting|1. Indenting]]  
*[[Man 2 ch07s02| 2. Auto tag closing]]  
*[[Man 2 ch07s02| 2. Autocompletion]]
*[[Hidden features]]
*[[Man 2 ch07s03| 3. Spell checker]]  
*[[Man 2 ch07s03| 3. Spell checker]]  
*[[Man 2 ch07s04| 4. Function reference]]  
*[[Man 2 ch07s04| 4. Function reference]]  
Line 20: Line 19:
**[[Man 2 ch07s05#5.2. Thumbnail generation|5.2. Thumbnail generation]]  
**[[Man 2 ch07s05#5.2. Thumbnail generation|5.2. Thumbnail generation]]  
*[[Man 2 ch07s06| 6. Customizing the Quick bar]]  
*[[Man 2 ch07s06| 6. Customizing the Quick bar]]  
*[[Man 2 ch07s07| 7. Custom menu]]
*[[Man 2 ch07s07| 7. Snippets plugin]]  
**[[Man 2 ch07s07#7.1. Adding a custom menu dialog|7.1. Adding a custom menu dialog]]
**[[Man 2 ch07s07#7.2. Adding a custom replace dialog|7.2. Adding a custom replace dialog]]  
*[[Man 2 ch07s08| 8. External programs, filters]]  
*[[Man 2 ch07s08| 8. External programs, filters]]  
**[[Man 2 ch07s08#8.1. Customizing browsers|8.1. Customizing browsers]]  
**[[Man 2 ch07s08#8.1. Customizing browsers|8.1. Customizing browsers]]  
Line 28: Line 25:
**[[Man 2 ch07s08#8.3. Customizing Ouputbox menu|8.3. Customizing Ouputbox menu]]  
**[[Man 2 ch07s08#8.3. Customizing Ouputbox menu|8.3. Customizing Ouputbox menu]]  
</div>
</div>
== 1. Indenting ==
== 1. Indenting ==
To indent large sections of text, simply highlight the section and choose Edit → Shift Right ('''Ctrl+.'''). To remove an indentation, choose Edit → Shift Left ('''Ctrl+,'''). There are corresponding buttons in the tool bar for these menu options (see later in this text).
To indent large sections of text, simply highlight the section and choose Edit → Shift Right ('''Ctrl+.'''). To remove an indentation, choose Edit → Shift Left ('''Ctrl+,'''). There are corresponding buttons in the tool bar for these menu options (see later in this text).
Line 35: Line 33:
Here's an extract of Dante's work indented with the Shift Right button in the main tool bar:  
Here's an extract of Dante's work indented with the Shift Right button in the main tool bar:  


[[File:Man2_indenting_right.png|none|frame|Indenting Part of a Text]]
[[File:Man1_indenting_right.png|none|frame|Indenting Part of a Text]]
== Bluefish 2 ==
 
=== Tab key indents selection ===
If set in [[Preferences#Generic_editor_settings|Preferences]], the tab key will indent a selection and shift-tab will unindent.


=== Auto identing ===
=== Smart indenting ===


{{Man2bottom
{{Man2bottom
|prev=Man 2 ch06s05
|prev=Templates
|up=Man 2 pt02
|up=Man 2 pt02
|next=Man 2 ch07s02
|next=Man 2 ch07s02
|prevname= 5.&nbsp;Find and Replace
|prevname= Templates
|nextname= 2.&nbsp;Auto tag closing
|nextname= 2.&nbsp;Auto tag closing
}}
}}

Latest revision as of 10:05, 20 July 2010


1. Indenting

To indent large sections of text, simply highlight the section and choose Edit → Shift Right (Ctrl+.). To remove an indentation, choose Edit → Shift Left (Ctrl+,). There are corresponding buttons in the tool bar for these menu options (see later in this text).

By default, Bluefish will use tabs for indenting, but can be configured to use spaces if you have Use spaces to indent, not tabs selected in the Editor preferences panel. The number of spaces used is the same as the Tab width option in the same preferences panel.

Here's an extract of Dante's work indented with the Shift Right button in the main tool bar:

Indenting Part of a Text

Bluefish 2

Tab key indents selection

If set in Preferences, the tab key will indent a selection and shift-tab will unindent.

Auto identing

Smart indenting