Indenting: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
<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. Autocompletion]]  
*[[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 34: Line 35:
[[File:Man1_indenting_right.png|none|frame|Indenting Part of a Text]]
[[File:Man1_indenting_right.png|none|frame|Indenting Part of a Text]]
== Bluefish 2 ==
== 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 ===
=== Auto identing ===

Latest revision as of 10:05, 20 July 2010


1. Indenting[edit]

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[edit]

Tab key indents selection[edit]

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

Auto identing[edit]

Smart indenting[edit]