File Editor Previous Top Next
 
In File Editor window, the editing of the program incoming texts in MapBasic language is performing.  
 
Besides, File Editor has additional options available, making the process of writing a source code and the work with the Editor very convenient and rapid:  
 
 
·Syntax highlighting: the code looks more legible in comparison with MapBasic Editor. You can set your syntax highlighting scheme in the dialog, called by the command Editor Properties in the pop-up menu File Editor.  
·You can set marks inside the code by pressing Ctrl + K + number 1 to 9, and then proceed to them by pressing Ctrl+required mark number.  
·You can collapse and expand the source code procedures by pressing F7 and F8 correspondingly. It may be very convenient, if you want to hide the unnecessary code fragments temporarily. Being inside of the procedure you can collapse an expanded one or expand a collapsed one by pressing F6.  
·File procedures list is used for quick proceeding to the necessary procedure.  
·Insertion the file include code (Include) through the dialog Use Include File (Ctrl+I)  
·Insertion the code of the file procedure call (Call) through the dialog Insert Procedure Call (Alt+S)  
·Insertion the code template in the cursor position.  
·Creating a local procedure - just press Ctrl+Alt+S and enter the new procedure name.  
·Displaying the compile and link errors (Compile And Link errors)  
·Positioning to the error location - double click the left mouse button on the error description.  
 
Include File Selection dialog:  
 
In the list, all the include files are displayed, which are held in the project folder. Select the file name and click OK, or double click the mouse button on it. If the option Standard Include Files is on, all the *.DEF files held in the standard file folder will be displayed.  
In the dialog Subprogram Name Selection you can modify the standard file folder.  
 
Select the procedure name and click OK, or double click the mouse button on it.