Editor - source code editing modeSource code editing mode is the more commonly used editing mode in Spider. It is also much more powerful and has more options than graphical mode. The source code editing window consists of two components:
In addition, you can enable the dynamic preview window in source code editing mode. EditorIn the editor you will perform all operations related to the source code of a document. In order to streamline your work, editor supports many keyboard shortcuts, has context menu, syntax highlighting and many other features. A basic requirement of a modern source code editor for any language is syntax highlighting. This allows for much easier orientation in the code. The code editor in Spider is also equipped with very powerful syntax highlighting, which allows you to more easily distinguish HTML tags and their attributes, function and instruction names in programming languages, and much more. In total, more than 40 coloring schemes are shipped with the program. In Spider, it is possible to change the coloring scheme while working. To do this, use the Select Syntax Coloring Scheme command on the mini toolbar on the left side of the editor, which will expand the list of all available schemes. You can also customize syntax coloring, and even use the Coloring Scheme Editor to edit existing schemes and create new schemes. In addition, when creating more complex code elements, especially scripts where there are nested loops, conditional statements, etc., the coloring (highlighting) of corresponding pairs of parentheses is very useful. This way it is easy to recognize the beginning and the end of the block where the cursor stands. Tasks to do Many times while working with the program you will want to take notes to remind you of what still needs to be done. If you have more than one person working on a project, it is possible to share important information this way. Such notes are the tasks to be performed in Spider. Each task is assigned to a specific line in a document. The line where you added the task will be colored depending on the priority of the task (you set the priority when creating the task). You can change the colors of individual priorities using the program's Settingswindow It is enough to double-click on the line where there is a task to be performed to open a window with the description of that task. Bookmarks in a document Bookmarks allow you to mark important places that you will return to more often. When you set a bookmark in the row of your choice, its icon will appear in the gutter. Read more about using bookmarks here. Split editor window into two parts Sometimes there is a need to edit the beginning and end of a document at the same time. This is most often the case while writing scripts, when you want to see for example a function declaration and edit another function at the same time. In this case, the ability to split the window into two parts comes to your aid. You can split editor window in two ways:
To split the editor window, use the command on the mini editor bar. Highlighting errors A very useful feature of the editor is underlining of spelling mistakes. Incorrectly spelled words will be marked with a red halo (you can change the halo color in the program settings window). You can turn error highlighting on or off with the command in the mini bar of the editor. Read more about spell check here. Automatic tag completion, Dynamic tooltips, Dynamic code While working with documents in various languages, you may often forget the syntax of some element (tag, function, etc.). In this case, the Dynamic Code functions come to your aid. They are described in more detail in the topic about dynamic code. Pop-up menu The editor has a very extensive popup menu (otherwise known as a context menu). You can call it by right-clicking anywhere in the editor. Using commands from this menu, you can perform most operations in the program, such as opening, saving and closing documents, changing the highlighting scheme, navigating through the document, converting text to tables, spell-checking and much more. It is also possible to customize the context menu. The easiest way to do this is to click the "Customize toolbars, menus and shortcuts" command at the bottom of the editor's popup menu and in the window that opens, go to the Editor's Context Menu category. GutterThe gutter is used to display additional information useful when working with code editing. You can turn it on using the command on editor mini bar , or in the Program Settings window. The following items may be included on the gutter:
The trough has a menu that you can access by clicking on it with the left mouse button. The command layout of this menu is identical to that of the Main Menu / Edit / Bookmarks in a document. |
Related topics |