Difference between revisions of "Options menu"
Line 7: | Line 7: | ||
{{:Line Numbers}} | {{:Line Numbers}} | ||
{{:Colorize Text}} | {{:Colorize Text}} | ||
+ | {{:Detect URLs}} | ||
{{:Visible Tabs}} | {{:Visible Tabs}} | ||
{{:Visible Spaces}} | {{:Visible Spaces}} | ||
Line 21: | Line 22: | ||
{{:Fullscreen}} | {{:Fullscreen}} | ||
{{:Stay on Top}} | {{:Stay on Top}} | ||
+ | {{:Session on Top}} | ||
<!-- ++++++++ --> | <!-- ++++++++ --> | ||
{{:Second Font}} | {{:Second Font}} | ||
<!-- ++++++++ --> | <!-- ++++++++ --> | ||
{{:Settings}} | {{:Settings}} |
Revision as of 21:20, 5 October 2021
Status Bar
Shows or hides the Status Bar, which resides at the bottom of the main window.
The Status Bar indicates:
- Current
line
number with the caret, and total lines count (see also Line Numbers); - caret position on the current
line
, and the currentline
length (see also Line Lengths); - offset of the caret within the entire document, and total document length;
- length of the current selection in characters, and number of selected
lines
(if more than oneline
). - Decimal and hexadecimal code of current character, i.e. the caracter directly after the caret.
- Note: Depending on the version of TED Notepad, this code is either the ASCII code or the Unicode character code.
- Type of Encoding, which the document is to be saved in (e.g. ANSI, UTF-8, Unicode or Unicode, Big Endian);
- and whether BOM shall be used (only in encodings, which allow
BOM
, e.g. UTF-8 or Unicode). - Type of Newlines to be used upon saving (i.e. Win, Unix, Mac or Mixed).
- Whether any unsaved modifications to the document have been made since the last Save operation.
- Current state of typing mode, i.e. Insert Mode or Overwrite Mode;
- and current state of the Word Wrap option.
The Status Bar responds to mouse clicks:
- invoking Go to dialog on panels with actual position info;
- toggling Encoding and Newlines on panels with file info;
- saving the document on panel with unsaved modifications indicator;
- toggling Insert Mode and Overwrite Mode;
- or toggling Word Wrap option on and off.
Note: The last Status Bar panel might contain active operation progress information and other such notifications from time to time.
Note: Displayed Line Numbers are irrespective of actual word wrapping, therefore, the same line number may span across more than one visual line, as long as such line is only temporarily wrapped by the Word Wrap option.
Overwrite Mode (Ins)
Toggles between Insert Mode and Overwrite Mode.
- With the Insert Mode on, each character typed is simply added to the document at the
current caret location
. - With the Overwrite Mode on, each character typed replaces one character just following the
current caret location
.- Note: If the caret is placed at some
line
's end, there is no character to replace, thus the character typed is simply added.
- Note: If the caret is placed at some
Note: If some text is selected upon typing, it is replaced by the character typed, regardless of whether Insert Mode or Overwrite Mode is on.
Line Numbers
If turned on, gutter with line numbers is displayed next to the lines.
Note: Each line is numbered regardless of current word wrapping. If a line is wrapped, it keeps the original line number nonetheless. Therefore some visual lines may lack numbers in the gutter, which is an indicator of that line being a continuation of the previous visual line.
Note: The same line numbers are displayed in the Status Bar.
Note: Color of the gutter and numbers can be customized in the Settings dialog. See chapter Appearance page of the Settings dialog.
See also Status Bar.
Colorize Text
If turned on, word characters
are drawn using a different color than non-word characters
.
This helps visually distinguish between words
and any other punctuation, etc.
It is also a useful visual aid for reading programming code, scripts, or structured data.
To change the color of the colorized text, see Colors: Common text: Colorized in the Appearance page of the Settings dialog.
Note: The text of the document is not modified by this feature in any way.
See also Visible Newlines, Visible Spaces and Visible Tabs.
Detect URLs
If turned on, web links, e-mails and other URLs are detected and highlighted.
To launch any given detected URL, use the URL: Navigate command that appears in the Right-click context menu.
To launch any URL, even if detection is turned off, select it, and then use the URL: Navigate command that appears in the Right-click context menu.
Note: The URL: Navigate command only appears in the Right-click context menu when a URL is auto-detected, or when a proper URL is selected. Otherwise, Selection: Web Search usually appears instead, as long as there is some text selected.
To change the color of the detected URLs, see Colors: Common text: Url in the Appearance page of the Settings dialog.
Note: The text of the document is not modified by this feature in any way.
Note: Emails can be detected without a mailto: in front of them, but older versions of Windows might struggle to launch them. To launch emails on older versions of Windows, use the full mailto:someone@example.com form.
Visible Tabs
If turned on, each Tab character in the document window is visually enhanced.
Note: The text of the document is not modified by this feature in any way.
To change the color of the Tabs, see Colors: Common text: Special in the Appearance page of the Settings dialog.
See also Visible Newlines, Visible Spaces and Colorize Text.
Visible Spaces
If turned on, each Space character in the document window is visually enhanced.
Note: No-break spaces
are draw slightly differently to spaces that allow word-wrapping.
Note: The text of the document is not modified by this feature in any way.
To change the color of the Spaces, see Colors: Common text: Special in the Appearance page of the Settings dialog.
See also Visible Newlines, Visible Tabs and Colorize Text.
Visible Newlines
If turned on, each line in the document window, which is terminated by an actual newline
, is visually capped with a special newline symbol.
The shape of the capping symbol can be used to tell the actual type of newline present at each location.
Note: The text of the document is not modified by this feature in any way.
To change the color of the Newlines, see Colors: Common text: Special in the Appearance page of the Settings dialog.
See also Line Lengths, Visible Spaces and Visible Tabs.
Line Lengths
If turned on, each visible line in the document window, is capped with a length of that line. The lengths are represented in characters, and depend on current word wrapping. This is different from what Status Bar displays as line length, since Status Bar calculates line lengths regardless of current word wrapping. The foundation of Line Lengths is to provide an immediate visual clue of length for any given visual line as currently displayed, while Status Bar is to provide information about the document itself, ignoring any temporary wrapping.
Note: The text of the document is not modified by this feature in any way.
To change the color of the line lengths, see Colors: Common text: Special in the Appearance page of the Settings dialog.
See also Visible Newlines.
Zoom In (Ctrl+Num+)
Increases the size of font.
See also Zoom Out and Zoom Reset.
Zoom Reset (Ctrl+Num0)
Resets the size of font to size set in the Settings dialog. See chapter Appearance page of the Settings dialog.
See also Zoom In and Zoom Out.
Zoom Out (Ctrl+Num-)
Decreases the size of font.
See also Zoom In and Zoom Reset.
Word Wrap (Ctrl+W)
If turned on, every line of the document is wrapped to fit either the visual width of the editor window, or the Wrap Margin, if Wrap Margin is enabled as well. Wrapping lines of text enables user to see all text on any line, but it does not affect the way such text appears when it is printed or saved to a file.
Note: If a single word is too long to fit within Wrap Margin, it is not broken just yet, but is allowed to continue even beyond the Wrap Margin. However, if the word is also too long to fit within the width of the editor window, then it is broken into several lines as necessary. In other words, Wrap Margin is a somewhat soft wrapping guide, whereas editor window width is a hard wrapping point.
Note: Numbers in the Line Numbers gutter and within the Status Bar are always irrespective of actual word wrapping.
Note: If window width or Wrap Margin changes, actual word wrapping adjusts itself automatically.
No ale to dnes asi uz nikoho neprekvapi, ze ano... :) Teraz ma napada, mozno by prekvapilo, keby to tak nefungovalo. Clovek by musel mackat nejaky cudlik, aby sa mu opravilo aktualne zalomenie.. :D
See also Wrap Margin.
Wrap Margin
Shows or hides the Wrap Margin, which is a thin vertical line, indicating soft word wrapping width. If both Word Wrap and Wrap Margin are turned on, all lines in the document are wrapped to fit within this margin. If Wrap Margin is turned off while Word Wrap is turned on, lines in the document are wrapped to fit within window width.
Note: Wrap Margin can stay turned on even while Word Wrap is turned off. In such case, the Wrap Margin does not wrap lines on its own, but rather gives a visual guideline for line lengths and manual line wrapping.
Position of the Wrap Margin can be easily adjusted by clicking on the margin line and dragging it.
Note: The visual position of the Wrap Margin changes (along with text of the document) upon horizontal scrolling, therefore, it always denotes the same absolute horizontal position within the text.
To change the color of the Wrap Margin, see Colors: Wrap margin: Margin in the Appearance page of the Settings dialog.
See also Word Wrap.
Fullscreen (F11)
If turned on, TED Notepad enters the Fullscreen mode. In this mode, the application window is expanded to entire user screen.
Note: This mode is somewhat stay-on-top as well, as long as the application window is active. This is a desired system default behaviour.
See also Stay on Top.
Stay on Top (Alt+O+T)
If turned on, TED Notepad stays in front of other common applications even if not active.
Note: If more than one application is in a stay-on-top mode, their order on the screen depends on the System. There is no way to ensure, that any particular one will be the topmost one of them.
Note: The reason the hotkey is a combination of menu mnemonics, instead of using a more usual hotkey combination, is to avoid accidental unwanted activation of stay-on-top mode by new less experienced users.
Tip: In order to remember the Stay on Top option between sessions, turn on Window size setting in the Settings dialog. See chapter Settings page of the Settings dialog.
See also Session on Top and Fullscreen.
See also command line parameter /T Session on Top.
Session on Top
Just like Stay on Top, if turned on, TED Notepad stays in front of other common applications even if not active. Unlike Stay on Top, however, this option is always conveniently forgotten when TED Notepad is closed.
See Stay on Top for more details.
See also command line parameter /T Session on Top.
Second Font (F8)
If selected, Secondary Font is used as Current Font to display edited text. Otherwise, Primary Font is used.
Both these fonts, including their color, can be changed in the Settings dialog. See chapter Appearance page of the Settings dialog.
Note: By default, Primary Font is preset to a fixed-width font, also caled monospace font, while Secondary Font is preset to a proportional font. This convention, however, is not exacted. The user is free to setup any pair of fonts.
Settings.. (Alt+Enter)
Shows the Settings dialog which is described in chapter Settings dialog.