Skip to content

GXDE Editor

Overview

GXDE Editor is a simple text editing tool. You can use it to write a simple text document, or use its advanced features as a code editing tool that supports code syntax highlighting.

overview

Guide

Run GXDE Editor

On Dock, click on launcher_icon to enter Launcher. Search or browse to find GXDE Editor deepin-editor, click to open it.

In Launcher, right click on GXDE Editor, you can:

  • Click on Send to desktop to create a desktop shortcut.
  • Click on Send to dock to fix its icon on Dock.
  • Click on Add to startup to add it to startup, it will auto run when system boots.

Exit GXDE Editor

  • On GXDE Editor interface, click on close to exit.
  • On GXDE Editor interface, click on icon_menu > Exit to exit.
  • Right click on deepin-editor on Dock, select Close All to exit.

View Shortcuts

On GXDE Editor Interface, press Ctrl+Shift+QM to view all the shortcuts. You can get them in Settings as well. Using shortcuts will greatly improve your work efficiency.

1|hotkey

Basic Operations

Create Document

Click plus_icon on the title bar, or press Ctrl +N, or select New window and New tab in the main menu, you can create blank document in GXDE Editor.

Open File

You can open the text file in the following ways, and the selected file will open in the new tab:

  • Drag and drop the file to GXDE Editor interface or its icon.
  • Right click the file and open it with GXDE Editor. After selecting GXDE Editor as the default program, you can double-click the file to open it directly.
  • In GXDE Editor interface, click icon_menu > Open file and select the file.
  • In GXDE Editor interface, use Ctrl + O to open the file.

tips: You can open multiple files at one time.

Save File

  • Press Ctrl + S to save the current document.
  • Press icon_menu > Save to save the file.

You can also press Ctrl + Shift + S to save the file as a new one.

Close File

  • Press Ctrl + W to close the file.
  • Move cursor to the title, click the close button there to close the file.
  • Right click the title, select Close tab or Close other tabs.

notes: If you make changes to the file but have not saved it, GXDE Editor will prompt you to save it when closing.

To print file in GXDE Editor, you should have connected and configured the printer.

  1. Click icon_menu > Print, or press Ctrl + P to open print preview.

  2. In the preview interface, preview the document and set the printing page.

  3. Click the printer icon on the right of preview window. In the pop-up window, select the printer and set the parameters.

  4. Click Print to start print.

previewpagesetupprinter

Manage Tab

In GXDE Editor, you can drag to reorder tabs within the same window, remove tab to create a new window, or move tab from one window to another.

Tab Shortcuts

FunctionShortcuts
New tabCtrl + T
Next tabCtrl + Tab
Previous tabCtrl + Shift + Tab
Close tabCtrl + W
Close other tabsCtrl + Shift + W
Restore tab (Reopen closed tab)Ctrl + Shift + T

Edit Text

Move Cursor

In addition to using the arrow keys and mouse clicks, you can also use the following shortcuts to move the cursor quickly:

FunctionShortcuts
Save cursor positionCtrl + Shift + >
Reset cursor position (Jump to cursor last saving position)Ctrl + Shift + <
Forward word (Jump forward over a word)Ctrl + Right
Backward word (Jump backward over a word)Ctrl + Left
Move to end of lineEnd
Move to start of lineHome
Move to end of textCtrl + End
Move to start of textCtrl + Home
Move to line indentationCtrl + M
Forward over a pair (Jump forward after the right parenthesis)Alt + P
Backward over a pair (Jump backward before the left parenthesis)Alt + N

Change Case

It helps you change the case of selected text. You can change it to lowercase, uppercase, or capitalize the initial.

  1. Select the text.
  2. Right click and select Change Case.
  3. Choose Upper Case, Lower Case, or Capitalize. The changes will take effect immediately.

You can also use Alt + U / L / C to quickly switch the cases.

Highlight Text

GXDE Editor supports highlighting different kinds of texts.

Click the triangle symbol at the right corner of status bar at bottom, and select the type of text you want to highlight.

highlight

Delete Text

In addition to deleting characters one by one, you can quickly delete characters by using the following shortcuts:

FunctionShortcuts
Delete to end of lineCtrl + K
Delete current lineCtrl + Shift + K
Delete backward wordAlt + Shift + N
Delete forward wordAlt + Shift + M

Undo

If you make a misoperation, press Ctrl + Z to undo it, or right click and select Undo.

Find Text

  1. Click on menu, and select Find, or press Ctrl + F to open "Find" box below.
  2. Input the text you want to find. Once input, all the matches will be highlighted.
  3. Click Next, Previous to find each match, or press Enter to find next match.
  4. Press Esc or click close button to close the dialog box.

tips: Select the text and then press Ctrl + F, the text will be automatically in the "Find" box.

Replace Text

  1. Click on menu, and select Replace, or press Ctrl + H to open "Replace" box below.
  2. Input the text to be replaced and the new text.
  3. Click Replace to replace the matches one by one, click Replace RestReplace All to replace the rest or all the matches. Click Skip to skip the current matching text.
  4. Press Esc or click close button to close the dialog box.

Go to Line

Use it to jump to specific line directly. Right click and select Go to Line, or press Ctrl + G, and then input the line number to go to that line.

Edit Line

Use below shortcuts to edit lines easily:

FunctionShortcuts
New line above (Insert one line above)Ctrl + Enter
New line below(Insert one line below)Ctrl + Shift + Enter
Duplicate lineCtrl + Shift + D
Swap line up (Swap the current line with above line)Ctrl + Shift + Up
Swap line down (Swap the current line with below line)Ctrl + Shift + Down
Scroll up one lineSuper + Shift + Up
Scroll down one lineSuper + Shift + Down
MarkAlt + H
UnmarkAlt + Shift + H
Copy lineSuper + C
Cut lineSuper + X
Merge linesCtrl + J

Switch Theme

GXDE Editor has various themes for you to change its style.

Click icon_menu > Switch Theme, and select the theme you want. It will change immediately.

Basic Settings

Font Style

  1. Click icon_menu > Settings.
  2. In Settings window, select the font and font size.
  3. The text will then use the new font and font size.

tips: You can also use Ctrl + +/ - to adjust the font size, and press Ctrl + 0 to reset font size.

Shortcuts

  1. Click icon_menu > Settings.
  2. Select a keymap in Shortcuts and view the shortcuts.
  3. You can click and press new shortcuts to customize it.

shortcuts

notes: Choose a proper keymap to fit your habits, including standard keymap, Emacs keymap, or customize it as you like.

Advanced Settings

  1. Click icon_menu > Settings.
  2. In Advanced, you can set:
    • Window size: Normal, Maximum, or Fullscreen;
    • Tab space: The indentation width when pressing Tab.

attention: Clicking on Restore Defaults will restore all settings to default.

Help

  1. On GXDE Editor interface, click on menu.
  2. Select Help.
  3. View the manual.

About

  1. On GXDE Editor interface, click on menu.
  2. Select About.
  3. View the version and description.

Exit

  1. On GXDE Editor interface, click on menu.
  2. Click on Exit to exit.

最后由衷的感谢星火团队提供的资源以及服务,使 GXDE 可以获得更好的体验