Text Editor

Text Editor is a highly versatile text and code editor, allowing you to access and quickly edit text files or codes on your DiskStation right from a web browser.

File Management

To create new files:

Click File and choose New. A new empty tab will appear with the title New Document.txt.

To open files from Text Editor:

Simply click File and choose Open. A dialog will appear and you can select a file with specific character encoding that has to be opened in a tab. If the file was already opened, Text Editor will show you that file in its current state.

To open files from File Station:

In File Station, simply right-click on the selected file and then click Open with Text Editor from the context menu. If the file was already opened, Text Editor will show you that file in its current state. Another way to open a file is to drag one or multiple files from File Station into Text Editor using the cursor.


Note:

Text Editor cannot open a file that exceeds 10 MB.

To save files:

Simply click File and choose Save. If it is an existing file, it will be overwritten with the current contents. If you want to save all the files you have opened at once, you can go to File > Save All. If the file has yet no name (a new file), or you selected File > Save As, a dialog will pop up, asking you for the name of the file. You can then choose the location, the file name, and the encoding to save for the file.

To close files:

Simply click File and choose Close. Another way to close a file is clicking on the close button on each tab. If you have any unsaved data in a file, Text Editor will always prompt you if you would like to close it without saving those changes.

Note:

You can save files with specific character encoding to support bi-directional languages. You can also specify an encoding when opening a file, so that Text Editor displays the file correctly.

Editing

Searching

What is regular expression?

A regular expression is a sequence of characters that forms a search pattern for powerful time-saving technique. A very simple use of a regular expression would be to locate the same word spelled two different ways in a text editor, for example M[ea]rry.

Style Configurator

The style configurator is primarily used to control the appearance of the text in Text Editor.
The bottom-right drop-down list contains all the supported programming language that can be styled to help you build a suitable coding environment.

Preferences

Supported File Formats

Text Editor only supports plain text files. Text files with rich formatting like *.doc and *.pdf will not be supported.