2.5.5. File editor

File manager has a built-in editor with a simple interface and syntax highlighting.

Important points:

  • The content of the file must be text.
  • The file size must not exceed 5 MB.

To open a file in the built-in editor filemanager double click on it.

The following buttons are located at the top of the editor window:

  • "Save" (combination Ctrl+S) — saving changes to the file.
  • "Save as" - saving the current file with a different name.
  • "Cancel"(combination Ctrl+Z) — undo the last change.
  • "Repeat" (combination Ctrl+Y) — redo the last change.
  • "Search" (combination Ctrl+F) — Search by the content of the file.
  • "Autocomplete" - enable / disable auto-completion of the text by the entered part. The hints are determined by the format of the file being edited.
  • "Line break" — enable / disable line wrapping.
  • "Theme" — switch to dark / light theme.
  • "Expand" - enable / disable full screen mode.
  • "Closing" - closing the editor window without saving the changes made.
  • "UTF-8" - switching the editor encoding to UTF-8 / CP-1251.

By default, normal search opens:

  • "Search for" - the template to find.
  • "<" - go to the previous match.
  • ">" — go to the next match.
  • "All" - switch to multicursor mode and highlight all matches.
  • "×" — close the search bar.
  • "+" — enable / disable search and replace mode.
  • "0 of 0" — the number of the current match and the total number of matches found.
  • ".*" — enable / disable regular expressions mode.
  • "Aa" — enable / disable case sensitivity.
  • "\b" — enable / disable whole word search mode.
  • "S" — search only for the selected text fragment.

When the search and replace mode is enabled, an additional line is added:

  • "Replace with" — the template to replace the found matches with.
  • "Replace" — replace the current match.
  • "All" — replacement of all matches.

The center displays the contents of the file being edited:

The status bar is displayed at the bottom of the editor window and contains the following information:

  • The absolute path to the file being edited.
  • Current coordinates of the cursor - in which line and at which position the cursor is now.
Content