LEA version 0.94

LEA is a Lightweight Editor for Ada

Alire crate: here
Source repository #1: here
Source repository #2: here
Web site: here

:new: Changes since last announcement here:

  • For Ada or .gpr code, the copy operation puts an HTML-formatted version of the selection into the clipboard.
  • Copy operation: when nothing is selected, copy the current line (VS / VS Code - style).
  • Added “Alire mode”. The user can control alr build and alr run: Build → alr build; Run → alr run.
  • LEA checks externally changed files and provide options to the user for handling that.
  • Minor improvements (menu texts, colors, …)

Needless to say, the first item is perhaps the most valuable as you can now impress and/or annoy your coworkers :wink: with e-mails containing formatted source code excerpts, like in this example:

The LEA executable is standalone, holds in 4 MB and doesn’t require an installation procedure.

Features:

  • Multi-document
  • Multiple undo’s & redo’s
  • Multi-line (vertical) & multi-point edit, rectangular selections
  • Color themes, easy to switch
  • Duplication of lines and selections
  • Syntax highlighting
  • Parenthesis matching
  • Bookmarks
  • Includes HAC, the HAC Ada Compiler
  • Smart editor features (auto-completion, navigation, mouse-hover infos)
  • Includes numerous examples of Ada programs, ready to be run
  • Single executable, runs without installation
  • Free, Open-Source

LEA is programmed in Ada, as well as HAC.

Enjoy!

10 Likes

Reminder: LEA can be set as an external editor for GNAT Studio!

In GNAT Studio, choose menu “Edit”, then entry “Preferences”, then tree item “Editor”, then, at the very bottom, spot the section “External Editors”.
Choose “Custom” from the drop-down menu. Finally, in the box labelled “Custom editor command”, type:
“c:\ada\lea\lea +%l %f” (assuming for example that the LEA executable, lea.exe, is in the directory c:\ada\lea).

3 Likes