You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
manual/source/2/2.4/2.4.2/Featherpad.rst

62 lines
6.9 KiB

Chapter 2.4.2 Featherpad
========================
Featherpad is a lightweight text editor.
It supports:
- tabs
- syntax highlighting
- autoindent
- autobracket
- line numbers
- search with find/replace
- undo and redo
Useage
------
If you wish to open a text file press the button that looks like a black and white folder or press :kbd:`control + o` to open a file. To view your recently modified files :menuselection:`File --> Recently modified`. To open a new file press the button that looks like a piece of paper with a plus sign. To save your file after typing in the main part of the window press the button that looks like a floppy disk or press controlTo save your file after typing in the main part of the window press the button that looks like a floppy disk or press :kbd:`control +s`. To reload a file if something else has changed that file in featherpad press the arrow that loops back on itself to reload the page.
6 years ago
To type things into your text file the main part of the window similar to a word porcessor. If you are programming with featherpad the file extension will probably automatically select the correct syntax highlighting. To view line numbers of the file press :kbd:`control +l` or :menuselection:`options --> line numbers`. To enable word wrap press :kbd:`Control +W` or :menuselection:`options --> wrap lines`.
To open a new tab and empty text file press the button with a piece of paper with a plus symbol on it, or press :kbd:`Control + N`. If you wish to close a tab press the red x button. To switch between tabs click on the tab is not the close button. To switch to the next tab press :kbd:`Alt + Right arrow` or :menuselection:`File --> Next tab`. To switch to the previous tab press :kbd:`Alt + Left arrow` or :menuselection:`File --> Previous Tab`.
If you make a mistake and want to undo it press :kbd:`control + z` or press the button that looks like a curved arrow pointing towards the left. To redo a change you have undone press the button with a curved arrow pointing towards the right or press :kbd:`Control +Shift +Z`.
To select all text in the text file press :kbd:`Control +A` or :menuselection:`Edit --> Select All`. To copy text from featherpad press :kbd:`Control +C` or :menuselection:`Edit --> Copy`. To paste text press :kbd:`Control+ V` or :menuselection:`Edit --> Paste`. To Cut text press :kbd:`Control+X` or :menuselection:`Edit --> Cut`. If you have text selected you can delete it by pressing :kbd:`Delete` or :menuselection:`Edit --> Delete`. To paste in the date and time press :kbd:`Control + Shift +V` or :menuselection:`Edit --> Paste Date and Time`.
To search your text file press :kbd:`Control + f` or :menuselection:`search --> find` from the menu. Then in the bar on the bottom search for the text you want. Press the down arrow to move to the next result and the up arrow to move for the previous result in the text file. To jump to a particular line in a file press :kbd:`control +j` or search jump to or the button that looks like >>. Then in the bar at the bottom type in what line you want to jump to. To find and replace text press :kbd:`control +r` or :menuselection:`search --> Replace`. Type the text you want to Find in the find field and type what you want to put in with the Replace with field and then press enter to finish the finding and replacing through the whole file.
To change what font you want select :menuselection:`option --> font` to change your font sizes. To change each font on the on the font level. To change the size type the size you or select it from the :guilabel:`Size` drop down menu. To select a font size simply use a font style of italic or oblique. To add an underlined font check the :guilabel:`Underline` checkbox. To view a sample of your font :guilabel:`Sample` and will preview your text.
To make the text all lowercase press :kbd:`Control + Shift +L` or :menuselection:`Edit --> To Lowercase`. To make the text all uppercase press :kbd:`Control + Shift +U` or :menuselection:`Edit --> To Uppercase`.
To print a text :menuselection:`file --> Print` or press :kbd:`control + p`.
.. image:: featherpad.png
:width: 80%
Customizing
------------
To view the prefrences for featherpad press :kbd:`control +Shift +P` or :menuselection:`Options --> Prefrences`. To have settings on the featherpad prefences is on the :guilabel:`Window` tabs. To remember the size of your window check the :guilabel:`Remember size on Closing` checkbox. To hide the toolbar you can press the :guilabel:`do not show toolbar` checkbox. To not show the menubar by default check the :guilabel:`Do not show menubar` checkbox. The :guilabel:`Tab position` moves where the tab around on the screen. To hide the tabbar with only one tab check the :guilabel:`Do not show a single tab` checkbox. To have the window close after closing the last tab check the :guilabel:`Close window on closing its last tab`.
To change prefrences on how text is displayed choose the :guilabel:`Text` Tab. To have featherpad remember what font you want press the :guilabel:`Remember Font` checkbox. If you do not want featherpad to highlight syntax by default uncheck the :guilabel:`highlight syntax by default` checkbox. If you want to change the be able to change the syntax highlight check the checkbox for :guilabel:`Support Syntax override`. The checkbox for :guilabel:`Always show line numbers` always shows line numbers. To have a dark color scheme for featherpad check the :guilabel:`Dark Color Scheme` checkbox. To change exactly how dark the value of this color is change the :guilabel:`Background color value`. After changing the dark theme settings you will need to restart featherpad.
.. image:: featherpadprefrences.png
To modify changes to your files from the prefrences dialog on :guilabel:`Files` tab. The :guilabel:`Number of recent files` field lets you change how many files show in recent files. The set of radio buttons for either :guilabel:`Show recently modified files` or :guilabel:`Show recently opened files`. If you want to autosave files check the :guilabel:`Save changes to files every` checkbox and then select the number of minutes you want. If you do not want to be able to open non text files in featherpad check the :guilabel:`Do not permit opening of non-text files` checkbox.
To view all keyboard shortcuts of featherpad switch to the :guilabel:`Shortcuts` tab. The :guilabel:`Action` column is what the shortcut does and the :guilabel:`Shortcut` column is the keyboard shortcut to change that shortcut. To change a shortcut double click on the shortcut column and press what you want the shortcut to become. If you changed a setting on a shortcut you can change it back to the default by pressing the :guilabel:`Default` button.
Version
-------
Lubuntu ships with version 0.9.0 of featherpad.
How to Launch
-------------
In the menu go to :menuselection:`Acessories --> featherpad` or run
.. code::
featherpad
from the command line. The icon for Featherpad looks like a pad of paper with a feather on it.