LextEdit

Main Menu

  • Home
  • Downloads
  • LextEdit Overview
  • The News
  • LextEdit Features
  • Contact Us

Key Concepts

  • The Editor
  • Text & File Differentiation
  • Trace Profiler

Login or Register

  • Forgot Login?
  • Sign up
  1. You are here:  
  2. Home
  3. LextEdit Features

LextEdit Features

Regular Expression Find and Replace

Published: 23 March 2009
Created: 23 March 2009
Last Updated: 13 September 2025
Hits: 5522

The Find and Replace window is an essential element to any editor. 

 

With support for the use of regular expressions your options are limitless. This feature can also be very helpful to quickly manipulate large files.

Format Section for C

Published: 23 March 2009
Created: 23 March 2009
Last Updated: 13 September 2025
Hits: 5157

LextEdit provides a simple but useful tool to quickly take MSQL code and convert it in to a section of usable C Code.  In the file menu under "Edit" there is the option "Format Selection for C (MSQL Only)".  This will convert a selected section of MSQL Code in to a string, replacing the variables with '%s', and adding the variable names comma separated at the end so the entire section can be used in C for a sprintf statement.  This can save considerable time when trying to write large C based commands and significatly reduce the number of mistakes when creating the C code.

 

Example:

MSQL Code:

Converted:

Secured Connections

Published: 23 March 2009
Created: 23 March 2009
Last Updated: 13 September 2025
Hits: 7604

LextEdit provides a way to create a LextEdit based secured connection configuration.  Allowing restrictions on the connection such as "Trace Profiler Only" or "LextEdit Only" to be confiugred. These restriction will prevent the use of a connection to only the supported application. By securing the connection these configurations are locked preventing modification such as the removal of the connection restriction

After creating a connection double click on the open lock icon next to the Configuration Name window. This will will prompt you for a security phrase, and it will ask to confirm the password which will encrypt the connection information and not allow you to modify it unless you know the security phrase to unlock it.

This would allow a someone to create a special user and password for a connection to share among other users by exporting the connection settings and distributing the export without allowing the recipient to modify the connection configuration.

LextEdit Command Line Arguments

Published: 23 March 2009
Created: 23 March 2009
Last Updated: 13 September 2025
Hits: 11832

LextEdit provides some very useful command line arguments that can save you time just but adding them to the windows shortcut.  You can configure it to always start at a certain position and size or you can have it log you in to a system.

 

-f Used to open a LextEdit window and load a specific file

-t defiines the type of system connection to make.  MSQL to connnect to a Moca based system or ODBC for a SQL database.

-a defines the I.P. address or the DNS name of a system to connect to.

-p the port number that the system can accessed on

-d the type of driver to use to connect to a file or system.

-c used in SQL connection to set Catalog or Database names.

-u a user name to be used at loging for a connection

-w a password to be used at login for a connection

-l sets window position information.

 

Example 1:

Adding "-t MSQL" as a command line argument will automatically open the "Connection Information" dialog to the "Moca Servers" tab when LextEdit is started.

Example 2:

Adding "-l 0,75,880,920" would always create the window at a position of 0 pixels from the left size of the screen,75 pixels down from the top with a size of 880 wide by 920 tall.

Example 3:

Adding "-a 192.168.1.101 -p 811 -t MSQL -u SUPERVISOR -w SUPERVISOR01" will log in to a MSQL connection at 192.168.1.101 on port 811 for the Supervisor user.

 

Open Multiple Windows

Published: 23 March 2009
Created: 23 March 2009
Last Updated: 13 September 2025
Hits: 4053

LextEdit provides the ability to open multiple windows from the Tools option on the File Menu.  If you have a connection currently established, all windows opened will connect to that same system.

  1. Custom Commands
  2. Component Lookup
  3. Command History
  4. Copy from the Grid

Page 2 of 4

  • 1
  • 2
  • 3
  • 4
Copyright © 2026 LextEdit. All Rights Reserved.
Brought to you by Orbital Services